# Update conversation
You can update a conversation (status, assignment, etc.).
PATCH
/conversations/:id/
Attributes | Type | Required | Description |
---|---|---|---|
id | integer | yes | A unique identifier for the conversation which is given by User.com automatically. |
active | boolean | yes | A flag of a conversation status |
assigned_to | integer | no | A unique identifier for the agent which is given by User.com automatically. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X PATCH -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2" -H "Content-Type: application/json" -d '{
"assigned_to": "Update assigned agent group ID",
"active": "Update conversation status"
}' "https://<your_app_subdomain>.user.com/api/public/conversations/:id/"