My unread DM badge count
GET /account/messages/unread-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).
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”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 completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}