# Access token
# Get access token
# Request
- url:
/connect/token - method:
POST - type:
form-data
# Body
| Field | Type | Description |
|---|---|---|
| client_id | string | your client id |
| client_secret | string | your client secret |
| grant_type | string | must be client_credentials |
# Example:
client_id: [your client id]
client_secret: [your client secret]
grant_type: client_credentials
# Response
- status: 200 OK
- type:
json
# Body
| Field | Type | Description |
|---|---|---|
| access_token | string | your acceess token |
| expires_in | number | time live token in second |
| token_type | string | - |
| scope | string | - |
# Example:
{
"access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IlJ2eURPZEF...",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "external-api"
}
# Errors
- status: 400 Bad request
- type:
json
# Example:
{
"error": "invalid_request"
}
← Introduction Orders →