There are two endpoints (base urls) that you can make your API calls to. "Stage" if you are testing, and "Production" for when you have finished testing on "Stage" and want your application to go live.
UI URLs are used for Oauth2 Authorization while API URLs are used in all other cases. UI URLs use cookie and session information while API URLs do not.
The URLs are: