Authentication
Generate access token
Exchange client credentials for a short-lived JWT token used in the x-token header.
POST
Generate access token
Body
application/json
API credentials
Your client ID issued by Clopos
Example:
"your_client_id_here"
Secret paired with the client
Example:
"your_client_secret_here"
Brand identifier
Example:
"your_brand"
Integrator ID. New in v2 — identifies the integrator making the request. Request one via https://forms.gle/Y9P1Wnv4QFAruxny8
Example:
"your_integrator_id_here"
Response
Token generated successfully
Example:
true
JWT access token for API requests
Example:
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Token type
Example:
"Bearer"
Token expiration time in seconds
Example:
3600
Unix timestamp when the token becomes invalid
Example:
1767852332
Example:
"Authentication successful"
Generate access token