OAuth

Issue OAuth Token

Changed on

Creates access token for OAuth client credentials grant.

This endpoint is rate limited to 60 requests per minute per client and source IP address. When the limit is exceeded, the endpoint responds with HTTP 429. Reuse the issued token until it expires instead of requesting a new one for each API call.

post/auth/token

Request

Request body

grant_typestring required

Type of grant which for token will be issued

client_idstring required

Client Identifier

client_secretstring required

Client Secret

Example request

{
  "grant_type": "client_credentials"
}

Response

OK

access_tokenstring

Access token (JWT format)

expires_in1800

TTL of access token

token_type'Bearer'

Bearer token type

Example response

{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJvYXV0aCIsImF1ZCI6IkNsaWVudC1OYW1lLVdqZFRjSjQyIiwiaWF0IjoxNjgwMjYwNzQyLCJleHAiOjE2ODAyNjI1NDIsInN1YiI6ImRiZTg3ZDlmLWMxYWItNGM4ZC05YWJjLTQ1MWViMzA3MTM2NyIsIm9yZyI6ImRlZmF1bHQiLCJlbWwiOiJleGFtcGxlQHBpd2lrLnBybyJ9.XDfDhKN0RInyHQBhzJD8ul_ai047QaAnQQfFQRzsJqoom0rOCir7aO4GGaJsBdWDamaFUiRC15jTH7l-TANqkHd1TV4ujDQJoKRdUt7vCxd1NdH8S6hXfDUJhVjNYYs-CLb08Od2-CqfTuR8SA3CCZX-jQRCGZjeMe6AlSwV-wEt3zgKTs8tzxThKd3KH6uKTmJRmKK-zObEPx4mYCPjpz-32LNqD-XKV1Th21aElz0X18pmahREWCcA8qHYnxOrTVFO9pPuTOvsHx9Wo8m1zou5s9u9PzFapScO_Wi7n6QpMObaLrxtd3T1Bk0eIwi2ujYIeb7wPWYJdcB3qmfBkg"
}

Changes