---
title: "Update Chat Labels"
method: PATCH
path: "/chats/labels"
tags: ["chats"]
---

# Update Chat Labels

`PATCH /chats/labels`

This endpoint updates the labels for specific chats

## Headers

- `x-phone` string

## Request body

- object
  - `labels` string, required — - A comma-separated list of labels to be assigned to the chats. All labels are case-insensitive. - If any label currently does not exist, it will be created - Note: This replaces all the current labels of the chat
  - `chat_ids` string[], required — - An array of chat_ids to update

## Response `204`

204 OK

- object — _204 No Content_

## Other responses

- `422` — 422 Invalid body

---

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