Purpose
Exchange your client credentials for a short-lived access token that authorizes all other API requests.HTTP Request
Request Example
Response
200 OK — Token issued
401 Unauthorized — Invalid credentials
Required Headers for Subsequent Requests
After retrieving the token, include these headers on every call (except/auth):
| Header | Description |
|---|---|
x-token | Access token returned by this endpoint. |
x-brand | Brand identifier you are operating against. |
x-venue | Venue identifier for the location you manage. |
Notes
- Tokens expire after
expires_inseconds (default: 3600). Refresh them proactively to avoid downtime. - Requests to
/authdo not require authentication headers; all other endpoints do. - If you exceed rate limits or enter invalid credentials repeatedly, the endpoint may temporarily lock further attempts.
- Store secrets securely and rotate credentials according to your security policies.
Body
application/json
API credentials
Your client ID
Example:
"eNUKI04aYJRU6TBhh5bwUrvmEORgQoxM"
Your client secret
Example:
"dqYkWUpDjzvKOgbP3ar8tSNKJbwMyYe1V5R7DHClfSNYkap5C5XxRA6PmzoPv1I2"
Brand identifier
Example:
"openapitest"
Venue identifier
Example:
"1"