---
title: "Get total unread message count"
method: GET
path: "/api/chat/unread-count"
tags: ["chat"]
deprecated: true
---

# Get total unread message count

`GET /api/chat/unread-count`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/chat/unread-count`
- Auth: HTTP bearer

> **Deprecated.**

Deprecated (7 Oct 2026). Apps from that date count unread conversations from the room list instead. Kept for older builds until the minimum app version passes that release.

## Query parameters

- `roomType` 'coach_dm' | 'group' | 'client_dm' | 'client_group' | 'pc_lead' | 'staff_dm' | 'staff_team'

## Response `200`

## Changes

- **2026-10-07** `dcecdb0ef84b`: 3 info
  - endpoint deprecated
  - added the new enum value `staff_dm` to the `query` request parameter `roomType`
  - added the new enum value `staff_team` to the `query` request parameter `roomType`
- **2026-09-22** `57a3d382c7e5`: 1 info
  - added the new optional `query` request parameter `roomType`

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/chat/unread-count/get.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
