Subscribe to the real-time platform event stream (SSE)
Server-Sent Events stream of platform events for the tenant (message, call, and other resource lifecycle events) so live dashboards can be built without polling GET /events or running a webhook receiver. Authenticate a browser EventSource with the Clerk session cookie (withCredentials) or ?token=; server-side callers pass the secret API key. Optional ?types= narrows the event types delivered; reconnect with the Last-Event-ID header (or ?lastEventId=) to replay buffered events and resume without gaps.
Authorizations
Dashboard JWT token from Clerk
Query Parameters
Comma-separated allowlist of event types to deliver (e.g. message.delivered,message.failed). Applied to both the Last-Event-ID replay pass and the live tail. Omit to receive all event types for the tenant.
Resume cursor — the id of the last event the client received. Replays buffered events newer than this id before live streaming.
Response
text/event-stream payload. Each frame is id: <streamId>\nevent: <type>\ndata: <json>\n\n; reconnect with the final id as the Last-Event-ID to resume without gaps.
text/event-stream payload. Each frame is id: <streamId>\nevent: <type>\ndata: <json>\n\n; reconnect with the final id as the Last-Event-ID to resume without gaps.