---
title: "Update Chat"
method: PATCH
path: "/chats/{chat_id}"
tags: ["chats"]
---

# Update Chat

`PATCH /chats/{chat_id}`

This endpoint updates properties of a chat

## Headers

- `x-phone` string

## Request body

- object
  - `assigned_to` string — - Update the assignee of the chat. The assignee must be a valid email address of a user in the organization
  - `custom_properties` object — - A record (key-value pair) of the property name or property id as keys, along with the updated value
    - `Custom Property 1` string
  - `labels` string — - A comma-separated list of labels to be assigned to the chat. All labels are case-insensitive. - If any label currently does not exist, it will be created

## Response `200`

200 OK

- object — The response is a chat object. Refer to [the chat object here](/api-reference/objects/the-chat-object)

## 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/versions/f2738ced87d8/schema)
