> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Set a conversation's fields

PATCH`/messenger/conversations/{conversationId}/fields`

Takes `values`, an object of field keys and values (a string, a number, a YYYY-MM-DD date, or one of a choice’s options); null or an empty string clears one, and keys left out stay. Every value is checked before anything is written. Any teammate. Safe to repeat: the same values again change nothing and answer `changed: []`.

## Path Parameters

`conversationId`

stringrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/messenger/conversations/{conversationId}/fields'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH'
};

fetch('https://api.workover.io/messenger/conversations/{conversationId}/fields', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/messenger/conversations/{conversationId}/fields"

response = requests.patch(url)

print(response.text)
```
