Skip to main content

Purpose

Request a short-lived JWT that authorizes all other v2 API calls.

HTTP Request

Where the credentials come from

The four values in the request body come from two different sources:
  • integrator_id — issued by Clopos. Every v2 integration must send one. Request it by filling out this form: https://forms.gle/Y9P1Wnv4QFAruxny8
  • client_id, client_secret, brand — come from the Clopos customer you are integrating with. They generate the Client ID and Client Secret themselves in their back office under Add-ons → Open API, then share both values and their brand identifier with you.
See Authentication for the step-by-step back office instructions to pass on to your customer.

Request Example

Request body

venue_id is no longer part of the authentication payload.

Response

200 OK — Token issued

How to use the token

  • Include only the x-token header on all other v2 endpoints:
  • Tokens expire after expires_in seconds; expires_at indicates 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