Documentation Index
Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt
Use this file to discover all available pages before exploring further.
Events API
A read-only feed of every notable event in the platform — message sent, message delivered, agent run, flow step, contact updated, conversation opened, webhook fired, etc. Two access patterns:- Polled —
GET /v1/eventsreturns paginated history. - Live —
GET /v1/events/streamopens an SSE connection that delivers events in real time.
/v1/events
Authentication: API key (X-API-Key) or session JWT.
| Method | Path | Purpose |
|---|---|---|
GET | /v1/events/ | List events (paginated) |
GET | /v1/events/{id} | Get a single event |
GET | /v1/events/stream | Subscribe via Server-Sent Events |
Live stream — SSE
data: lines (one JSON object per line). Reconnect on error with the Last-Event-ID header set so you don’t lose events.
The ?token= query parameter is promoted to X-API-Key server-side so browsers (which can’t set arbitrary headers on EventSource) can authenticate. The token is not logged in access logs for this endpoint.
See also
- Webhooks — for delivered, durable, retry-handled push of the same events