latestOpenAPI 3.1.02026-08-08243131.9 MB

c5ddcd5c7e72

Get unread chats, messages, and notifications count

Returns the count of unread chats, total unread messages, and unread notifications by type for the authenticated user.

<Info> **Polling for real-time updates? Use a webhook instead.**

If you are calling this endpoint on a schedule to detect new activity, subscribe to the message.received, message.read webhook events instead — you'll get pushed updates in real time without polling. See the webhook documentation. </Info>

get/chats/unread

Headers

X-Fanvue-API-Versionstring required
Example:2025-06-26

API version to use for the request

Response

Unread counts retrieved successfully

unreadChatsCountnumber required

Number of conversations with unread messages

unreadMessagesCountnumber required

Total number of unread messages across all chats