Authentication

Endpoints that require authentication must provide a JWT bearer token.

Getting an Access Token

  1. An API key is required. Its client ID and client secret are issued when the key is created. The secret is shown only once.
  2. The client_id, the client_secret and grant_type set to client_credentials are sent to the Obtain Access Token endpoint.
  3. 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.