POST Token

Creates an access token for the API.

Request Information

URI Parameters

None.

Body Parameters

Token issuance information to access the API

TokenBodyModel
NameDescriptionTypeAdditional information
grant_type

Grant type: Fixed value "client_credentials"

string

None.

client_id

Client ID

string

None.

client_secret

Client secret

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:
grant_type=client_credentials&client_id=00000000-0000-0000-0000-000000000000&client_secret=sample_client_secret

Response Information

Resource Description

Access token information

TokenResponseModel
NameDescriptionTypeAdditional information
access_token

Access token used for API calls

string

None.

token_type

Token type

string

None.

expires_in

Token expiration time (in seconds)

integer

None.

Response Formats

application/json

Sample:
{
  "access_token": "sample_access_token_sample_access_token_sample_access_token…",
  "token_type": "bearer",
  "expires_in": 1800,
}