Skip to main content

Subscribe to real-time events for a discussion

GET 

/api/v1/stream/:discussionId

Server-Sent Events stream. Auth via X-API-Key header, ?ticket= (preferred for browsers; mint via POST /api/v1/stream/ticket), or ?token= (deprecated — emits Deprecation: true and Sunset response headers). Supports Last-Event-ID for replay after reconnect. See components.schemas.SseEvent for the per-event data payload shapes. Event names: comment_created, comment_edited, comment_deleted, comment_approved, comment_rejected, comment_pinned, comment_unpinned, reaction_toggled, discussion_locked, discussion_unlocked, discussion_archived, notification_reply, poll_vote, poll_status_changed. Framing events (no domain payload): connected, connection-timeout.

Request

Responses

Default Response