---
title: "Mark messages as read"
method: POST
path: "/messenger/v1/messages/readMessages"
tags: ["messages"]
---

# Mark messages as read

`POST /messenger/v1/messages/readMessages`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/messenger/v1/messages/readMessages`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/uspacy/apis/messenger-service-2/docs/messenger/v1/messages/readMessages/post.ts> (a function with typed inputs; its response is checked against the schema)

Marks specific messages as read by the authenticated user. Updates the read status and read receipts.

## Request body

- MessagesIdsChatIdDto
  - `messagesIds` string[], required: Messages ids
  - `chatId` string, required: Chat id

## Response `200`

Confirmation of messages marked as read

- MessagesIdsChatIdDto[]
  - `messagesIds` string[], required: Messages ids
  - `chatId` string, required: Chat id

---

[API](https://skmtc.dev/uspacy/apis/messenger-service-2.md) - [All operations](https://skmtc.dev/uspacy/apis/messenger-service-2/llms.txt) - [OpenAPI document](https://skmtc.dev/uspacy/apis/messenger-service-2/revisions/699626a9e425?raw)
