Get Access Token With Authorization Request
Exchange authorization code, refresh token or client_credentials to user access token.
authorization
{
"grant_type": "string",
"refresh_token": "string",
"code": "string",
"state": "string",
"redirect_uri": "string",
"client_id": "string",
"client_secret": "string",
"scope": "string",
"orgId": "string"
}
The type of authorization to be performed.
The refresh token when grant_type
is set to refresh_token
The authorization code when grant_type
is set to authorization_code
A transparent state of the request.
The URI to which a redirect will be performed upon successful authorization.
The client ID when grant_type
is set to client_credentials
. Will be ignored if the Authorization
header is set.
The client secret when grant_type
is set to client_credentials
. Will be ignored if the Authorization
header is set.
Currently not supported. Present for CSP compatibility.
When grant_type
is set to client_credentials
if this parameter is set the issued token will be limited to the specified organization.
default response
{
"scope": "string",
"access_token": "string",
"refresh_token": "string",
"id_token": "string",
"token_type": "string",
"expires_in": 0
}
Scope
Access Token
Refresh Token
ID Token
Token Type
Access Token Expiration