Purpose
Request a short-lived JWT that authorizes all other v2 API calls.HTTP Request
Integrator ID
Some integrations need to access Clopos Open API without an end-user logging in.
For these cases, an Integrator ID is required.You can request an Integrator ID by filling out this form:
https://forms.gle/Y9P1Wnv4QFAruxny8
https://forms.gle/Y9P1Wnv4QFAruxny8
Request Example
Request body
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | Yes | Issued by Clopos. |
client_secret | string | Yes | Secret paired with the client. |
brand | string | Yes | Brand identifier. |
integrator_id | string | Yes | New in v2. Identifies the integrator making the request. |
venue_id is no longer part of the authentication payload.
Response
200 OK — Token issued
How to use the token
- Include only the
x-tokenheader on all other v2 endpoints: - Tokens expire after
expires_inseconds;expires_atindicates the epoch timestamp when the token becomes invalid.
Integrator ID
Some integrations need to access Clopos Open API without an end-user logging in. For these cases, an Integrator ID is required.Request an Integrator ID by filling out this form: Request Integrator ID