Request OAuth token.
Send this request to request the OAuth token.
POST
Body
application/x-www-form-urlencoded
ClientID is the optional client ID.
Example:
"customer_id"
ClientSecret is the client secret ID provided to the customer during onboarding.
Example:
"secret"
GrantType only allows option: client_credentials
.
Example:
"client_credentials"
Response
200
application/json
Successful request.
AccessToken returns the access token as a string.
Example:
"eyJ..."
ExpiresIn returns the lifetime of the token in seconds.
Example:
3600
TokenType returns the type of token.
Example:
"Bearer"
RefreshExpiresIn returns the lifetime of the token in seconds. Not currently supported.
Example:
3600
RefreshToken returns the refresh token as a string. Not currently supported.
Example:
"eyJ..."