Authorization token

Request

POST

/oauth2/token

Body

application/x-www-form-urlencoded
{
    "client_id": "string",
    "client_secret": "string"
}

Name

Description

client_id*

Type: string

Client ID

client_secret*

Type: string

secret key

Responses

200 OK

OK

Body

application/json
{
    "access_token": "bqehYcfk7Tb2zKRkxQ-IaK9nHyntdYnlpJ7kwTNX3B6mIKPws",
    "expires_in": 120,
    "scope": "vendor_management",
    "token_type": "bearer"
}

Name

Description

access_token*

Type: string

The auth token

Example: bqehYcfk7Tb2zKRkxQ-IaK9nHyntdYnlpJ7kwTNX3B6mIKPws

expires_in*

Type: integer

Token lifetime

Example: 120

scope

Type: string

Example: vendor_management

token_type

Type: string

Token type

Example: bearer

401 Unauthorized

Authorization error

No longer supported, please use an alternative and newer version.