> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# updateConversation

> Update a direct-message group conversation — currently its title

**Required scope:** `write:chats`



**mutation** `updateConversation(input: UpdateConversationInput!): UpdateConversationPayload`

## Arguments

**`input`**: `UpdateConversationInput!` (required)

Parameters for UpdateConversation

## Returns

`UpdateConversationPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`conversation`**: `PrivateConversation`

---

**`errors`**: `[String!]!`

## Examples

```graphql Mutation
mutation UpdateConversation($input: UpdateConversationInput!) {
  updateConversation(input: $input) {
    clientMutationId
    conversation {
      bookmarkedAt
      id
      lastChatAt
      lastMessage {
        actorType
        artifact {
          __typename
        }
        assets {
          __typename
        }
        conversation {
          __typename
        }
        createdAt
        embeddedLink {
          __typename
        }
      }
      messages {
        edges {
          __typename
        }
        nodes {
          __typename
        }
        pageInfo {
          __typename
        }
      }
      participants {
        ambassadorLevel
        ambassadorLevelId
        avatarUrl
        badges {
          __typename
        }
        communityRole
        conversations {
          __typename
        }
      }
    }
    errors
  }
}
```

```json Variables
{
  "input": {
    "conversationId": "id",
    "title": "string"
  }
}
```

```json Response
{
  "data": {
    "updateConversation": {
      "clientMutationId": "string",
      "conversation": {
        "bookmarkedAt": "value",
        "id": "id",
        "lastChatAt": "value",
        "lastMessage": {
          "actorType": "COHOST",
          "artifact": {
            "__typename": "Artifact"
          },
          "assets": [
            {
              "__typename": "Asset"
            }
          ],
          "conversation": {
            "__typename": "ConversationThread"
          },
          "createdAt": "value",
          "embeddedLink": {
            "__typename": "EmbeddedLink"
          }
        },
        "messages": {
          "edges": [
            {
              "__typename": "PrivateMessageEdge"
            }
          ],
          "nodes": [
            {
              "__typename": "PrivateMessage"
            }
          ],
          "pageInfo": {
            "__typename": "PageInfo"
          }
        },
        "participants": [
          {
            "ambassadorLevel": "string",
            "ambassadorLevelId": 1,
            "avatarUrl": "string",
            "badges": [
              {
                "__typename": "Badge"
              }
            ],
            "communityRole": "CONTRIBUTOR",
            "conversations": {
              "__typename": "PublicConversationConnection"
            }
          }
        ]
      },
      "errors": [
        "string"
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.