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_tokenstringOptional
expires_inlongOptional

Expiration time, in seconds from the issue time

scopeenumOptional

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

token_type"bearer"OptionalDefaults to bearer

Token type

Errors