Setup and Config
Prerequisites
The key variables you will need to do requests to the Partner API are API_URL
,API_KEY AUTH_URL, TOKEN_URL, CLIENT_ID, CLIENT_SECRET, SCOPES
Steps
Request tokens: From the authorized application, request an Access Token for your API.
Call API: Use the retrieved Access Token to call your API.
Example of requesting token:
Example response:
If all goes well, you'll receive an HTTP 200
response with a payload containing access_token
, token_type
, and expires_in
values:
Call API
To call the Partner API the application must pass the retrieved Access Token as a Bearer token in the Authorization header of your HTTP request:
Last updated