Skip to main content

TokenRequest

grant_typestringrequired

The type of grant being requested

Possible values: [authorization_code, refresh_token, client_credentials]

codestring

The authorization code (required for authorization_code grant)

redirect_uristring<uri>

Must match the redirect_uri used in the authorization request

client_idstring

Your OAuth2 client ID

client_secretstring

Your OAuth2 client secret

refresh_tokenstring

The refresh token (required for refresh_token grant)

scopestring

Space-separated list of requested scopes

TokenRequest
{
"grant_type": "authorization_code",
"code": "string",
"redirect_uri": "string",
"client_id": "string",
"client_secret": "string",
"refresh_token": "string",
"scope": "string"
}