Skip to main content
GET
Stream unread notifications count

Response

Server-sent event stream; each event's data is the payload below.

An account's current unread-notification count, broadcast on the account's core-NATS unread subject.

Fan-out to any watching SSE connections so a badge updates live; the stored rows in Postgres remain the source of truth, so a missed broadcast is recoverable by re-reading the count.

unreadCount
integer<int64>
required

The account's current number of unread notifications.