Allow clients to access api endpoint url

This makes it easier for library users to stub or mock requests to API
endpoint.
v0.0.5