---
title: "Update conversation"
method: PATCH
path: "/conversations/{conversation_id}"
tags: ["Messages"]
---

# Update conversation

`PATCH /conversations/{conversation_id}`

This endpoint lets you change the status of the conversation to "open"/"closed" or to assign it to a user.
⚠️ You can only perform one action at a time: either change the status or assign a user.

## Path parameters

- `conversation_id` integer, required — The id of the conversation to update

## Request body

- object — Request body to update a Conversation
  - `status` 'open' | 'closed' — You can close or re-open the conversation. It will change the "is_solved" boolean of the conversation but it won't change the `is_expired`. If the conversation is expired we can't re-open it.
  - `assigned_user_id` 'USER_ID' | 'unassigned' — Only for enterprise organizations. The user will be assigned to the conversation. You can only assign a conversation to a user that: - is active - is of type human (not bot) - has access to the conversation

## Response `200`

OK

- object
  - `status` 'success'

## Other responses

- `401` — You are not authenticated
- `403` — You are not allowed to perform this action

---

[API](https://skmtc.net/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.net/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/versions/3652d8b1a8b3/schema)
