Skip to main content
POST
Exchange Code or Refresh Token

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
code
string

Required for authorization_code grant

redirect_uri
string

Required for authorization_code grant

refresh_token
string

Required for refresh_token grant

client_id
string
client_secret
string
code_verifier
string

PKCE code verifier (required if code_challenge was sent)

Response

200 - application/json

Token response

access_token
string
Example:

"tabt_abc123..."

refresh_token
string
Example:

"tabr_xyz789..."

token_type
string
Example:

"Bearer"

expires_in
integer
Example:

3600

scope
string
Example:

"read write"