Skip to main content

WebSocket Endpoint

Connect to this endpoint for real-time updates via WebSocket. Connection URL:

Query Parameters

WebSocket Messages

Subscribe

Subscribe to a collection to receive updates.

Unsubscribe

Stop receiving updates for a collection.

Ping

Send a ping to keep the connection alive.

Server Responses

Subscribe Confirmation

Unsubscribe Confirmation

Pong Response

Heartbeat

Sent every 30 seconds.

Data Event

Connection Limits

  • Maximum 100 subscriptions per connection
  • Connections closed after 1 hour (token expiration)
  • Heartbeat sent every 30 seconds

Example