Skip to main content
POST
Exchange an OAuth grant for tokens

Authorizations

Authorization
string
header
required

OAuth confidential-client credentials.

Body

application/x-www-form-urlencoded
grant_type
string
required
Allowed value: "authorization_code"
code
string
required
Maximum string length: 1024
redirect_uri
string<uri>
required
code_verifier
string
required
Required string length: 43 - 128

Response

A short-lived access token and rotating refresh token.

access_token
string
required
token_type
string
required
Allowed value: "Bearer"
expires_in
integer
required
Required range: x >= 60
scope
string
required
refresh_token
string
required