v1
latestOpenAPI 3.1.02026-07-2470277.8 KBpost/token
Request body
codestring
Code obtained from the consent flow redirect. Required for authorization_code grant.
client_idstring required
client_secretstring required
redirect_uristring
Must exactly match both your configured redirect URI and the redirect URI provided in the consent flow. Required for authorization_code grant.
grant_type'authorization_code' | 'refresh_token' required
Only authorization_code or refresh_token is supported.
statestring
State used in the consent flow. Required for authorization_code grant.
scopestring
Scope used in the consent flow. Required for authorization_code grant. Must be "openid".
refresh_tokenstring
Required for refresh_token grant.