---
title: "Update Conversation"
method: PATCH
path: "/messages/conversations/{conversation_id}"
tags: ["messaging"]
---

# Update Conversation

`PATCH /messages/conversations/{conversation_id}`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/messages/conversations/{conversation_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Path parameters

- `conversation_id` string, uuid, required

## Request body

- ConversationUpdate
  - `title` string, required

## Response `200`

Successful Response

- AppSchemasMessagingConversationDetail
  - `id` string, uuid, required
  - `type` string, required
  - `title` string, nullable
  - `tech_pack_job_id` string, uuid, nullable
  - `last_message_at` string, date-time, nullable
  - `last_message` MessageOut
    - `id` string, uuid, required
    - `conversation_id` string, uuid, required
    - `sender` MessagingUserSummary
      - `id` string, uuid, required
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `email` string, nullable
      - `display_name` string, nullable
    - `body` string, required
    - `reply_to` MessageReplyPreview
      - `id` string, uuid, required
      - `sender` MessagingUserSummary
        - `id` string, uuid, required
        - `first_name` string, nullable
        - `last_name` string, nullable
        - `email` string, nullable
        - `display_name` string, nullable
      - `body` string, required
    - `mentioned_user_ids` string[]
    - `attachments` MessageAttachment[]
      - `url` string, required
      - `name` string, nullable
      - `mime` string, nullable
      - `size` integer, nullable
    - `created_at` string, date-time, required
    - `edited_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
  - `unread_count` integer
  - `created_by` string, uuid, nullable
  - `created_at` string, date-time, required
  - `participants` ParticipantOut[]
    - `user` MessagingUserSummary, required
      - `id` string, uuid, required
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `email` string, nullable
      - `display_name` string, nullable
    - `role` string, required
    - `account_type` string, nullable
    - `joined_at` string, date-time, required
    - `left_at` string, date-time, nullable
    - `online` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
