---
title: "Pin a chat room to the top of the current user’s list"
method: POST
path: "/v1/chat/rooms/{roomId}/pin"
tags: ["chat"]
---

# Pin a chat room to the top of the current user’s list

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

## Path parameters

- `roomId` string, uuid, required

## Response `200`

Successful response

- ChatRoomPinnedOutput
  - `pinned` boolean, required

## Other responses

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

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/revisions/427ccfd67e8d/schema)
