Token endpoint
Exchanges an authorization code (with PKCE) or a refresh token for tokens. Accepts application/x-www-form-urlencoded. Confidential clients may authenticate with client_secret_post (body) or client_secret_basic (Authorization: Basic).
Authentication
Api-Keystring
API key of the organization. Always sent together with the Secret-Access header.
Headers
Secret-Access
Request
This endpoint expects an object.
grant_type
An enumeration.
client_id
code
redirect_uri
code_verifier
refresh_token
client_secret
Response
Successful Response
access_token
token_type
expires_in
scope
refresh_token
id_token
Errors
400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
