Getting the API endppoints up