Category preferences
The full matrix of known categories. Absence of a stored row means enabled, so a new category starts on for everyone without a backfill.
View as MarkdownAuthorization
bearer In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/preferences"{ "preferences": [ { "category": "string", "enabled": true } ]}Live unread stream (SSE)
A Server-Sent Events stream of the caller's unread count for the active org. The connection emits `data: {"unread": N}` immediately on connect and again whenever a new feed row lands, plus `: ping` heartbeat comments. The client updates its badge and refetches the feed on each data event. One-way and stateless by design — any replica can serve any client. Product notifications reach the feed asynchronously via the platform event outbox (eventkit), not a direct call to this service.
Toggle one category
Single-category upsert; returns the full matrix.