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_idapplication_idsecret
📝 Obtain a token
Call the endpoint POST /token.
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 requestsexpires_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>
