Skip to content

My unread DM badge count

GET
/account/messages/unread-count

Backs the navbar envelope pill on every authenticated page render. Cache-backed (per-recipient LRU + cache.Registry NOTIFY broadcast on every write/mark-read).

Unread-DM count.

object
count
required
integer format: int64

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}