Skip to main content

Minimal example

Connect, subscribe, and log incoming events.

Production example

Adds reconnection with exponential backoff and last_event_id replay to avoid losing events during disconnects.

WebSockets overview

Why WebSockets, connecting, delivery semantics.

Protocol reference

Message types, subscribe options, event replay, connection management.

Event payload

Full field descriptions for the event payload.