---
title: "Batch unread counts"
method: POST
path: "/unread_batch"
tags: ["product:chat"]
---

# Batch unread counts

`POST /unread_batch`

Fetch unread counts in batch for multiple users in one call

## Request body

- UnreadCountsBatchRequest, nullable
  - `user_ids` string[], required

## Response `201`

Response

- UnreadCountsBatchResponse, nullable — Basic response information
  - `counts_by_user` object, required
  - `duration` string, required — Duration of the request in milliseconds

## 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)
