Agent/Get Unread Conversations Count
GET /v1/agent/conversations/unread/count

Get Unread Conversations Count

How many of this agent's conversations are waiting on them — the number behind the sidebar Inbox badge. Conversations, not messages, and the whole inbox rather than the page the list has loaded, which is why it is not a field on /conversations/count. The web app asks for this over the `v1/conversations` socket channel instead (`push("count_unread", {})`, same reply shape); this route is for clients without that socket.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl https://api.{cluster}.{platform}.voiger.io/v1/agent/conversations/unread/count \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code"

Parameters

x-workspace-code string required in header

Response

count
integer