---
title: "Mark a chat room as unread for the current user"
method: POST
path: "/v1/chat/rooms/{roomId}/unread"
tags: ["chat"]
---

# Mark a chat room as unread for the current user

`POST /v1/chat/rooms/{roomId}/unread`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/chat/rooms/{roomId}/unread`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/legend/apis/legend-api/docs/v1/chat/rooms/:roomId/unread/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `roomId` string, uuid, required

## Response `200`

Successful response

- ChatRoomMarkedUnreadOutput
  - `markedUnread` boolean, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

## Changes

> 110 revisions in range; 1 not diffed.

- **2026-09-10** `4201e72dc54f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/chat/rooms/:roomId/unread/post.md)

---

[API](https://skmtc.dev/legend/apis/legend-api.md) - [All operations](https://skmtc.dev/legend/apis/legend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/legend/apis/legend-api/revisions/e7dbec738069?raw)
