Subscribe to the real-time message event stream (SSE)
Server-Sent Events stream of inbound + outbound message events and DLR status changes for the tenant, so live dashboards / chat UIs can be built without a webhook receiver or polling GET /messages. Authenticate with the secret API key via the X-API-Key header (server-side, preferred) or ?api_key=/?token= for browser EventSource. Optional ?types= narrows the message events delivered (e.g. ?types=message.delivered,message.failed). Reconnect with the Last-Event-ID header to resume without dropping events.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Response
Successful response.