Authencation#
We provide x-api-key, username/client_id and password/client_secret.
To access any API you need to pass the request headers x-api-key and the bearer token to the authorization or to the x-access-token (backward compatible).To get the bearer token you need to request /auth/access-token with x-api-key in header and {"client_id": "test", "client_secret": "testsecret"} in body.And to call others endpoints you need to pass in request header:authorization: Bearer ACCESS_TOKEN or x-access-token: Bearer ACCESS_TOKEN
Errors#
| HTTP Code | Description |
|---|
| 401 | Expired. |
| 401 | Invalid signature. |
| 401 | Decoded error. |
| 401 | Invalid token. |
| 401 | Invalid key. |