Skip to main content
POST
/
oauth
/
token
{
  "access_token": "<string>",
  "token_type": "Bearer",
  "expires_in": 123,
  "refresh_token": "<string>",
  "scope": "<string>"
}

Body

grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
client_id
string
required

OAuth2 client ID

code
string

Authorization code (for authorization_code grant)

redirect_uri
string<uri>

Original redirect URI (for authorization_code grant)

client_secret
string

OAuth2 client secret (if not using PKCE)

code_verifier
string

PKCE code verifier (for PKCE flow)

refresh_token
string

Refresh token (for refresh_token grant)

Response

Token issued successfully

access_token
string

The access token

token_type
enum<string>
Available options:
Bearer
expires_in
integer

Access token lifetime in seconds

refresh_token
string

Refresh token (if applicable)

scope
string

Space-separated list of granted scopes

I