Endpoint
/auth/oauth/token
Generates an access token using client credentials.
Responses
OK
access_tokenstring
expires_instring
scopestring
token_typestring
{
"access_token": "6b4a5f03-7d49-4915-9792-2d964806cbd1",
"expires_in": "5999",
"scope": "read write",
"token_type": "bearer"
}
Bad Request
errorstring
error_descriptionstring
{
"error": "unsupported_grant_type",
"error_description": "Unsupported grant type: user_password"
}
Unauthorized.
errorstring
error_descriptionstring
{
"error": "unauthorized",
"error_description": "Bad API credentials"
}