Chat icon

Chat

Interact with the Chat API

Actions253

Notification → Unread Count

AI-generated

Summary

Retrieve the number of unread notifications for a given account.

Inputs

  • accountId (required) — Select the account whose unread notification count to query.

Output shape

integer

Returns a numeric count of unread notifications (zero if none); requires appropriate permissions for the selected account.

Examples

Example 1: Count unread notifications for a specific account

Choose an account from the list and execute the operation

Example 2: Check if any unread notifications exist

Select an account; the result is 0 or a positive integer

Example 3: Display the unread count in a dashboard

Use the account selection UI and reference the returned count

Links

Discussion