Skip to main content
get/users/me/unread-count

Get current user's global unread message count

LLM
View as Markdown
Open llms.txt

Returns the total number of unread messages across all sessions for the authenticated user. This is the authoritative value used to hydrate the inbox badge on page load and on WebSocket reconnect; WebSocket deltas update the badge between requests.

Authorization

Scheme

  • bearerAuth

Required scopes

  • user:read_self

Allowed roles

  • owner
  • admin
  • agent

Read the caller's unread conversation count.

Responses

  • 200

    Global unread count

    • application/json UnreadCountResponse
  • default

    Error

    • application/json ProblemDetails