---
title: "Mark all messages as read"
method: PUT
path: "/v3/users/{user_id}/mark_as_read_all"
tags: ["User"]
---

# Mark all messages as read

`PUT /v3/users/{user_id}/mark_as_read_all`

## Request

- Base URL: `https://api-APP_ID.sendbird.com`
- URL: `https://api-APP_ID.sendbird.com/v3/users/{user_id}/mark_as_read_all`
- Auth: none declared

## Mark all messages as read

This action marks all of a user's unread messages as read in certain group channels. If channels aren't specified, the user's unread messages in all group channels are marked as read.

https://sendbird.com/docs/chat/platform-api/v3/user/marking-messages-as-read/mark-all-of-a-users-messages-as-read#1-mark-all-of-a-user-s-messages-as-read

## Path parameters

- `user_id` string, required

## Headers

- `api-token` string

## Request body

- MarkAllMessagesAsReadRequest
  - `channel_urls` string[]: Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read.

## Response `200`

Successful response

- EmptyObjectResponse

## Changes

- **2025-07-27** `7a85bad03e90`: 1 warning, 2 info
  - deleted the `header` request parameter `Api-Token`
  - added the new optional `header` request parameter `api-token`
  - the request property `channel_urls` became optional
- **2023-11-10** `135d8b0705d4`: 1 info
  - the `header` request parameter `Api-Token` became optional
- **2022-07-27** `0b6cf41bc62a`: 1 warning
  - removed the request property `user_id`
- **2022-05-03** `5299c01f7f16`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2022-02-16** `c42164095c7c`: 1 breaking
  - the `header` request parameter `Api-Token` became required

[Operation history](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk/changes/v3/users/:user_id/mark_as_read_all/put.md)

---

[API](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk.md) - [All operations](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk/revisions/9e53a5288df0?raw)
