Endpoint
/auth/oauth/token

Generates an access token using client credentials.

Responses

OK

access_token
string

expires_in
string

scope
string

token_type
string

{
  "access_token": "6b4a5f03-7d49-4915-9792-2d964806cbd1",
  "expires_in": "5999",
  "scope": "read write",
  "token_type": "bearer"
}

Bad Request

error
string

error_description
string

{
  "error": "unsupported_grant_type",
  "error_description": "Unsupported grant type: user_password"
}

Unauthorized.

error
string

error_description
string

{
  "error": "unauthorized",
  "error_description": "Bad API credentials"
}