Create Access Token

Deprecated

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

Authentication

AuthorizationBearer

Enter the key with the Bearer prefix, e.g. ‘Bearer API_KEY|ACCESS_TOKEN’.

Request

This endpoint expects an object.
grant_typeenumRequired

in: body

Allowed values:
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
expires_inlong
Expiration time, in seconds from the issue time
scopeenum

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

token_typeenum
Token type
Allowed values:

Errors

400
Bad Request Error