WebSocket API (real time, streaming)

WebSocket API (real time, streaming)
When the reaction is important, the WebSocket API makes it possible to exchange data in real time, without repeated requests and server polls. We offer a full-fledged WebSocket interface through which you can receive and send events related to cigar sessions, cash transactions, the technical condition of machines and player actions.

WebSocket API is an ideal solution for live monitoring, alerts, betting streaming and flexible integration with external dashboards.

What the WebSocket API gives

FeatureBenefits
BidirectionalClient and server communicate without persistent HTTP requests
Instant deliveryEvents are dispatched instantly, without delay
Live monitoringDisplay rates, wins, errors, device status in real time
Alerts and AlarmsReceive critical event notifications directly on the interface or system
Data streamingStreaming - sessions, turnovers, balances, minimum latency events

Examples of events

Example of an incoming message:
  • ```json
  • {
  • “ event “ : “ betPlaced “ ,
  • “ timestamp “ : “ 2025-05-11T11:10:00Z “ ,
  • “ data “ : {
  • “ playerId “ : “ u3849 “ ,
  • “ amount “ : 20,
  • “ device “ : “ Slot-A12 “
  • }
  • }
  • ```

Example of an alarm event:
  • ```json
  • {
  • “ event “ : “ deviceOffline “ ,
  • “ data “ : {
  • “ terminalId “ : “ T-19 “ ,
  • “ lostAt “ : “ 2025-05-11T11:12:03Z “
  • }
  • }
  • ```

Implementation features

Protocol: WSS (WebSocket Secure)
Authorization via token on connection
Channels by event type: 'game', 'cash', 'alerts', 'system', 'player'
Event specific subscription support (subscribe/unsubscribe)
Ability to respond to events (acknowledge, actions) - two-sided model

Where WebSocket is especially useful

Live panels and operator dashboards
Real-time automation and personnel monitoring systems
Audit and Security - Alarms, Bypass Attempts, Critical Actions
BI interfaces that need continuous data transfer without polling

The WebSocket API is the basis for building reactive control systems. When speed, stability and streaming are important, WebSocket gives everything from instant monitoring to full real-time streaming.

Contact Us

Fill out the form below and we’ll get back to you soon.