oAuth2
Exchange OAuth2 token
<Warning> This endpoint expects `application/x-www-form-urlencoded`. </Warning> <Warning> Try it will not return usable data for this route. It depends on a live OAuth2 authentication context outside the docs. </Warning> <Info> Get started with OAuth by reading [our guide](/oauth2/creating-an-application). </Info> <Info> Only the `authorization_code` grant type is supported. Authorization codes are one-time use and expire after 5 minutes. </Info>PKCE is supported for both Private and Public applications but Public applications must send code_verifier and must not send client_secret.
Private applications must send client_secret.
Only S256 PKCE is supported.
post/oauth/token
Request body
Response
OAuth2 access token exchange result.
Changes
No recorded changes to this endpoint across all 1 revision of this API.