---
title: "Get unread messages number"
method: GET
path: "/api/v2/chats/unread/count"
tags: ["Chats"]
---

# Get unread messages number

`GET /api/v2/chats/unread/count`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Chats/getUnreadMessagesTotal" target="_blank">Try in sandbox</a><br>Get the total amount of unread messages in the current user chats.

## Response `200`

Returned when successful.

- GetUnreadMessagesTotalResponse
  - `total` integer, required — Amount of unread messages.

## Other responses

- `401` — Unauthorized request.

---

[API](https://skmtc.net/textmagic/apis/textmagic-api.md) · [All operations](https://skmtc.net/textmagic/apis/textmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textmagic/textmagic-api/revisions/3e4029d19684/schema)
