switched endpoint to our own API