Authorization token
Request
POST
/oauth2/token
Body
application/x-www-form-urlencoded
{
"client_id": "example",
"client_secret": "example"
}
|
Name |
Description |
|
client_id |
Type: string Client ID Example: |
|
client_secret |
Type: string secret key Example: |
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: |
|
expires_in |
Type: integer Token lifetime |
|
scope |
Type: string Example: |
|
token_type |
Type: string Token type Example: |
401 Unauthorized
Authorization error
No longer supported, please use an alternative and newer version.