Skip to content

Request a token

This step allows you to obtain a temporary token to call the endpoints.

🔐 Prerequisites

You must have retrieved your access information:

  • client_id
  • application_id
  • secret

📝 Obtain a token

Call the endpoint POST

.

Example payload

json
{
  "client_id": "xxxxx-xxxxx-xxxxx",
  "application_id": "yyyyy-yyyyy-yyyyy",
  "secret": "zzzzz-zzzzz-zzzzz"
}

Example response

json
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR...",
  "expires_in": 300
}
  • access_token: token to use for requests
  • expires_in: validity period in seconds (here: 300 seconds = 5 minutes)

🔑 Use the Token

For each API request, add the token in the HTTP header:

makefile
Authorization: Bearer <access_token>