v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
OAuth

Request access token

Exchange client credentials (and optionally a userId) for an access token.

Supports authorization_code, client_credentials, and refresh_token grant types. Authenticate using HTTP Basic auth

post/v6/auth/token

Response

Access token issued successfully

access_tokenstring

The bearer token to include in API requests.

token_type'Bearer'
expires_ininteger

Token lifetime in seconds.

refresh_tokenstring

Refresh token, returned for authorization_code grant types.

scopestring

Space-separated list of granted scopes, if applicable.

Example response

{
  "access_token": "eyJhbGciOiJSUzI1NiJ9...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "tGzv3JOkF0XG5Qx2TlKWIA"
}