---
title: "Get unread chat count"
method: GET
path: "/chat/unread-count"
tags: ["Chat"]
---

# Get unread chat count

`GET /chat/unread-count`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/chat/unread-count`
- Auth: API key in header `x-api-key`

Returns the number of the viewer's conversations with unread messages for badge display.

## Query parameters

- `scope` 'org' | 'creator', required

## Response `200`

OK

- object
  - `count` integer, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
