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.

Headers

AuthorizationstringRequired

Basic authentication of the form Basic <username:password>.

Request

This endpoint expects an object.
grant_type"client_credentials"Required

Must be “client_credentials”

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