> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Count Unread Notifications

> Get the number of unread app notifications for the authenticated user

Returns a single integer representing the total number of unread app notifications for the currently authenticated user. Use this to populate notification badge counts in your UI.

<Note>
  This endpoint requires an authenticated user. Include a valid `Authorization: Bearer <accessToken>` header.
</Note>

## Response

Returns HTTP `200` with a plain integer (not a JSON object):

```json theme={null}
7
```

## Error Responses

<AccordionGroup>
  <Accordion title="Unauthorized — 401">
    ```json theme={null}
    {
      "error": "Unauthorized",
      "code": "auth/unauthorized"
    }
    ```
  </Accordion>
</AccordionGroup>

## See Also

* [`useAppNotifications` hook](/hooks/app-notifications/use-app-notifications) — exposes `unreadCount` directly
* [Fetch Notifications](/api-reference/app-notifications/fetch-notifications)
