Endpoints that require authentication must provide a JWT bearer token.
Getting an Access Token
- An API key is required. Its client ID and client secret are issued when the key is created. The secret is shown only once.
- The
client_id, theclient_secretandgrant_typeset toclient_credentialsare sent to the Obtain Access Token endpoint. - The response contains:
access_token: the token used to authenticate requests.token_type: the token type,Bearer.expires_in: the number of seconds until the token expires.
Using the Access Token
The token must be included in the Authorization header of every request, prefixed with Bearer:
Authorization: Bearer <access_token>
When the token expires, a new one must be requested.