Create Access Token

Deprecated

WARNING: This endpoint is deprecated. Create a new API token for the logged in user.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
grant_type"client_credentials"Required

in: body

scopeenumOptional

The scope, or a space-delimited list of scopes the token is requested for in: body

Response

Contains the details of the token which can be used by the user to access the API
access_tokenstring or null
expires_inlong or null
Expiration time, in seconds from the issue time
scopeenum or null

The scope, or a space-delimited list of scopes the token is issued for

token_type"bearer" or nullDefaults to bearer
Token type

Errors