Tokens
POST
Get an access token
/tokenRequest an OAuth 2.0 access token, using the Client Credentials Grant.
Request Headers
The client ID and secret should be provided as using HTTP Basic authentication:
Authorization: Basic {encoded}
Where encoded is the base64 encoding of {client_id}:{client_secret}.
Alternatively, these credentials can be included in the request body as per Section 2.3.1.
Request Body
The grant type and desired scopes (optional) should be provided via the body (as application/x-www-form-urlencoded):
grant_type=client_credentials&scope=read+write
Response
A TokenResponse object.
Should an error occur, the returned Error object will use the appropriate error code as per Section 5.2.