Skip to main content

Identity API (v1)

Download OpenAPI specification:Download

Authorization

Exchange client id and client secret for an access token

More information can also be found in the Account Information > Quick Start page.

Request Body schema: application/x-www-form-urlencoded
client_id
required
string

The client ID provided when the application was registered.

client_secret
required
string

The client secret provided when the application was registered.

scope
required
string

The API scope requested for the access token. Should be "customer-api".

grant_type
required
string

The authentication grant type. Should be "client_credentials".

Responses

Response samples

Content type
application/json
{
  • "accessToken": "string",
  • "tokenType": "string",
  • "expiresIn": 0
}