Skip to main content
Issues a 5-minute JWT signed with the project JWT secret. The token is role: anon with workspace claims (merchant_id, env) plus device_uid. Use it with the publishable key in the same payload to join the private device topic and the workspace topic.
Authenticates with device_uid and device_secret in the JSON body. This is not the customer realtime token.
Refresh before expires_in. The SDK helper listenKiosk refreshes about every 270 seconds.

Request body

Request

Response

The body is { data: KioskRealtimeToken }.

Events

Subscribe to topic for device events. Subscribe to workspace_topic for catalog events (same payloads as the customer realtime token). For each CMS block the tablet renders, subscribe to {workspace_topic}:cms:{block_name}. Only devices joined to that block’s topic receive its changes.

Errors