---
title: "Update Thread"
method: PATCH
path: "/api/channels/{channel}/accounts/{account_id}/threads/{thread_id}"
tags: ["channels", "channels", "channel-threads"]
---

# Update Thread

`PATCH /api/channels/{channel}/accounts/{account_id}/threads/{thread_id}`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/{channel}/accounts/{account_id}/threads/{thread_id}`
- Auth: none declared

Update thread properties (e.g., rename a thread).

This is useful for:
- Renaming WhatsApp Community subgroups (the provider doesn't give their names)
- Setting custom names for threads

Args:
    channel: Channel name
    account_id: Account owning the thread
    thread_id: Thread to update
    update: ThreadUpdateRequest with fields to update

Returns:
    Updated thread info

## Path parameters

- `channel` string, required
- `account_id` string, required
- `thread_id` string, required

## Request body

- ThreadUpdateRequest: Request body for updating thread properties.
  - `title` string, nullable
  - `update_contact` boolean
  - `folder_id` integer, nullable
  - `description` string, nullable
  - `is_pinned` boolean, nullable
  - `is_archived` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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