---
title: "Reorder Pins"
method: PUT
path: "/api/chats/pins/order"
tags: ["chats"]
---

# Reorder Pins

`PUT /api/chats/pins/order`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/chats/pins/order`
- Auth: none declared

Persist the caller's chosen order for their pinned chats.

Writes ``pin_rank = index`` for each supplied chat id the caller pins;
ids the caller does not pin are ignored. Authorization is implicit —
only the caller's own ``chat_participants`` rows are touched (the service
filters by ``identity.id``).

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- ReorderPinsRequest
  - `chat_ids` string[], required

## Response `200`

Successful Response

- OkResponse
  - `ok` boolean

## Other responses

- `422`: Validation Error

---

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