Skip to main content
POST
Token endpoint: authorization code (PKCE) or refresh token

Body

grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
client_id
string
required
Minimum string length: 1
code
string

authorization_code grant

code_verifier
string

PKCE verifier (authorization_code grant)

redirect_uri
string
refresh_token
string

refresh_token grant; rotates on every use

resource
string

Response

OK

access_token
string
required
token_type
string
required
Allowed value: "Bearer"
expires_in
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
refresh_token
string
required
scope
string
required