Get a token
Retrieve a token
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
The OAuth 2.0 grant type being used for the token request
authorization_code
, refresh_token
, client_credentials
"authorization_code"
The authorization code received from the authorization server (required for authorization_code grant type)
"4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
The refresh token used to obtain a new access token (required for refresh_token grant type)
"1B4a2e77838347a7E420ce178F2E7c6912E169246c"
PKCE code verifier used to verify the authorization request (required when PKCE was used in authorization request)
"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
Response
The access token to access the API endpoints
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlcyI6WyJhZG1pbiJdLCJwYJ0bmVyIjoi..."
The type of token issued, always 'Bearer'
Bearer
"Bearer"
The lifetime of the access token in seconds (60 minutes)
3600
The refresh token to create a new access_token
"21cc84a3ad98736f4e5eddc88a1f4b58a29ae96206027c9b59d874cb2a7f7e02"