v1
latestOpenAPI 3.1.02026-07-24558778.0 KBOAuth Authorization
OAuth token endpoint
Exchanges an authorization code or refresh token for an access token. Supports grant_type=authorization_code and grant_type=refresh_token. Supports PKCE for public clients.
post/oauth/token
Query parameters
grant_typestring required
OAuth grant type: 'authorization_code' or 'refresh_token'
codestring
Authorization code received from the authorize endpoint
client_idstring required
The OAuth client identifier
client_secretstring
The OAuth client secret
redirect_uristring
Must match the redirect_uri used in the authorization request
code_verifierstring
PKCE code verifier
refresh_tokenstring
Refresh token for grant_type=refresh_token
Response
OK