Create 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 token request
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)
"da5cece172d6a8f65f91f90b3fe65b1e"
The refresh token used to obtain a new access token (required for refresh_token grant type)
"ddbc4f94dbb2d19e23a81327042b35fc"
The client identifier issued to the client during registration (required for public clients, when not authenticating via Basic Auth)
"client_12345"
PKCE code verifier used to verify the authorization request (required when PKCE was used in authorization request)
"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
Response
The issued access token and refresh token
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
"ddbc4f94dbb2d19e23a81327042b35fc"
Space-delimited list of scopes granted on this token (RFC 6749).
"read:* write:*"