---
title: "チャットのメッセージを既読にする"
method: PUT
path: "/rooms/{room_id}/messages/read"
---

# チャットのメッセージを既読にする

`PUT /rooms/{room_id}/messages/read`

チャットのメッセージを既読にします。

## Response `200`

成功した

- RoomUnreadAndMentionNum
  - `unread_num` integer, required — 未読数
  - `mention_num` integer, required — 自分宛ての未読の数

## Other responses

- `400` — リクエストまたはアクセストークンのパラメーターが不足している、および不正な値が指定されている
- `401` — 認証に失敗した
- `403` — チャットのメッセージを既読/未読にする権限がない
- `404` — メッセージが存在しない
- `429` — APIの利用回数制限を超過した

---

[API](https://skmtc.dev/chatwork/apis/chatwork-api.md) · [All operations](https://skmtc.dev/chatwork/apis/chatwork-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chatwork/chatwork-api/revisions/6a085e353fe3/schema)
