---
title: "Rename a chat"
description: "Gives a chat a new title."
url: "https://openemail.uk/docs/api/chats/rename"
area: "API"
category: "Mailbox"
---

# Rename a chat

Gives a chat a new title.

`PATCH /chats/{id}`

## PATCH /chats/{id}

Gives a chat a new title.

## Example

Needs `threads:write`. `title` is up to 120 characters. Answers with the chat as it is now.

**curl**

```
curl -X PATCH "$OE/chats/8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65" -H "$AUTH" \
  -H "Content-Type: application/json" -d '{ "title": "Quarterly invoices" }'
```

**Response**

```
{
  "object": "chat",
  "id": "8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65",
  "title": "Quarterly invoices",
  "kind": "chat",
  "messageCount": 12,
  "updatedAt": "2026-09-30T09:12:44.000Z"
}
```

## Reference

- [`PATCH /chats/{id}`](https://openemail.uk/docs/api/reference/chats#patch-chats-id): full reference
