Get access token

Click the above URL to toggle between Reporting and Boarding APIs.

Obtain an OAuth 2.0 access token using basic authentication.
Authentication requires a Base64 encoded authorization header with your client_id as the username and your client_secret as the password.

Authentication

AuthorizationBasic
Basic authentication using client_id as username and client_secret as password. Headers must include: ``` Authorization: Basic <base64-encoded-credentials> ``` where the encoded credentials are `base64(client_id:client_secret)`.

Request

This endpoint expects an object.
grant_typeenumRequired

Must be “client_credentials”

Allowed values:

Response

Successful token response
access_tokenstring
The access token to use for authenticated requests
token_typestring
The token type
expires_ininteger
Token expiration time in seconds

Errors