The Cleo Pay API uses Bearer token authentication. Include your token in theDocumentation Index
Fetch the complete documentation index at: https://docs.cleo-pay.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header of every request.
Authorization header
<token> with the token you receive after signing in.
Example request
Token expiry
Tokens expire after a set period. When a token expires, the API returns a401 Unauthorized response. Re-authenticate by signing in again to obtain a new token.
Error responses
| Status | Cause |
|---|---|
401 Unauthorized | The Authorization header is missing or the token has expired. |
403 Forbidden | The token is valid but does not have permission to perform the requested action. |
Checking your token
You can verify that your token is working by calling any authenticated endpoint. A200 or 201 response confirms the token is valid. A 401 means you need to re-authenticate.