Skip to main content
POST
Generate access token

Body

application/json

API credentials

client_id
string
required

Your client ID issued by Clopos

Example:

"your_client_id_here"

client_secret
string
required

Secret paired with the client

Example:

"your_client_secret_here"

brand
string
required

Brand identifier

Example:

"your_brand"

integrator_id
string
required

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

success
boolean
Example:

true

token
string

JWT access token for API requests

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

token_type
string

Token type

Example:

"Bearer"

expires_in
integer

Token expiration time in seconds

Example:

3600

expires_at
integer

Unix timestamp when the token becomes invalid

Example:

1767852332

message
string
Example:

"Authentication successful"