Skip to main content
GET
Sse Endpoint

SSE Endpoint

Connect to this endpoint for real-time updates via Server-Sent Events (SSE). Connection URL:

Query Parameters

Server Events

Heartbeat Event

Sent every 30 seconds to keep the connection alive.

Message Event

Sent when a subscribed collection has data changes.

Event Format

All data events follow this structure:

Connection Behavior

  • Automatic reconnection handled by the browser
  • Token expiration will close the connection
  • Heartbeat sent every 30 seconds

Example

Multiple Collections

Subscribe to multiple collections by specifying the collection parameter multiple times:

Response

200 - application/json

Successful Response