Authentication
Uprise uses the OAuth 2.0 client credentials grant method to generate a token, which should be passed as a Bearer token in each authentication request. The client id and secrets will be provided to each partner during partner onboarding. Refer to the Auth resource for the token endpoint details.
Basic authentication
To obtain an access token, send a POST request to /auth/token with Basic authentication. Pass your client ID and client key (clientSecret) by Base64-encoding clientId:clientSecret and including it in the Authorization header.
Example request with basic auth
curl https://staging-api.uprise.us/auth/token \
-X POST \
-H "Authorization: Basic $(echo -n '{clientId}:{clientSecret}' | base64)" \
-H "Content-Type: application/json"
Use the access_token from the response as a Bearer token on all other API requests. See the Auth resource for the full endpoint details.
Please don't commit clientId and clientSecret to source control.
