Skip to main content
POST
/
auth
Generate access token
curl --request POST \
  --url https://integrations.clopos.com/open-api/auth \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "your_client_id",
  "client_secret": "your_client_secret",
  "brand": "your_brand",
  "venue_id": "your_venue_id"
}'
{
  "token": "at_live_1234567890abcdef1234567890abcdef",
  "expires_in": 3600
}

Body

application/json

API credentials

client_id
string
required

Your client ID

Example:

"eNUKI04aYJRU6TBhh5bwUrvmEORgQoxM"

client_secret
string
required

Your client secret

Example:

"dqYkWUpDjzvKOgbP3ar8tSNKJbwMyYe1V5R7DHClfSNYkap5C5XxRA6PmzoPv1I2"

brand
string
required

Brand identifier

Example:

"openapitest"

venue_id
string
required

Venue identifier

Example:

"1"

Response

Token generated successfully

token
string

Access token for API requests

Example:

"at_live_1234567890abcdef1234567890abcdef"

expires_in
integer

Token expiration time in seconds

Example:

3600