---
title: "Update conversation"
method: PATCH
path: "/s2s/conversations/{conversationId}"
tags: ["S2S Conversations"]
---

# Update conversation

`PATCH /s2s/conversations/{conversationId}`

Update conversation title and/or attributes (merge semantics).

## Path parameters

- `conversationId` string, required

## Request body

- S2SPatchConversationBody
  - `title` string
  - `attributes` RecordStringUnknown — Construct a type with a set of properties K of type T

## Response `200`

Ok

- S2SConversation
  - `id` string, required
  - `number` number, double
  - `title` string
  - `type` string
  - `status` string
  - `closed` boolean, required
  - `archived` boolean, required
  - `unread` boolean, required
  - `workflowActive` boolean, required
  - `workflowId` string
  - `assignee` S2SAuthor
    - `type` 'contact' | 'agent' | 'bot' | 'system', required
    - `id` string
    - `name` string
    - `avatar` string
  - `attributes` RecordStringUnknown — Construct a type with a set of properties K of type T
  - `contact` object
    - `userId` string
  - `latestMessage` S2SMessage
    - `id` string, required
    - `conversationId` string, required
    - `text` string
    - `author` S2SAuthor, required
      - `type` 'contact' | 'agent' | 'bot' | 'system', required
      - `id` string
      - `name` string
      - `avatar` string
    - `attachments` S2SAttachment[], required
      - `url` string, required
      - `name` string
      - `contentType` string
    - `replyToMessageId` string
    - `rating` string
    - `unread` boolean, required
    - `createdAt` string, date-time, required
  - `createdAt` string, date-time
  - `lastActivityAt` string, date-time

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/6bb0c3577de2/schema)
