Skip to main content
POST
OAuth 2.0 client credentials grant. The request is form encoded. The token lasts one hour.
Send the credentials in the form body or with HTTP Basic authentication, not both.

Headers

string
required
application/x-www-form-urlencoded
string
Basic followed by the base64 of CLIENT_ID:CLIENT_SECRET. Replaces client_id and client_secret in the body.

Request body

string
required
client_credentials
string
Required without HTTP Basic authentication.
string
Required without HTTP Basic authentication.

Response

string
required
Send as Authorization: Bearer ACCESS_TOKEN on the other endpoints.
string
required
Bearer
integer
required
3600
The response carries Cache-Control: no-store.

Errors

Tokens

  • No refresh token. Request a new token before the current one expires.
  • Reuse one token for all calls during its hour.
  • A revoked secret stops new tokens. Issued tokens run to expiry.