---
title: "Unread counts"
method: GET
path: "/unread"
tags: ["product:chat"]
---

# Unread counts

`GET /unread`

Fetch unread counts for a single user

## Query parameters

- `user_id` string

## Response `200`

Response

- WrappedUnreadCountsResponse, nullable — Basic response information
  - `channel_type` UnreadCountsChannelType[], required
    - `channel_count` integer, required
    - `channel_type` string, required
    - `unread_count` integer, required
  - `channels` UnreadCountsChannel[], required
    - `channel_id` string, required
    - `last_read` string, date-time, required
    - `unread_count` integer, required
  - `duration` string, required — Duration of the request in milliseconds
  - `threads` UnreadCountsThread[], required
    - `last_read` string, date-time, required
    - `last_read_message_id` string, required
    - `parent_message_id` string, required
    - `unread_count` integer, required
  - `total_unread_count` integer, required
  - `total_unread_count_by_team` object
  - `total_unread_threads_count` integer, required

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

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