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

# Change chat widget settings in the draft

PUT`/messenger/{messengerId}/draft`

Lays the given settings (the fields PATCH messenger/{messengerId} takes) over the draft without changing what visitors see. A field that cannot be kept is a 400 naming it in `errors`, and the draft stays as it was. Safe to repeat; a value equal to the live one drops that field from the draft. Owners and admins only.

## Path Parameters

`messengerId`

numberrequired

## Response

200

**cURL**

```bash
curl --request PUT \
  --url 'https://api.workover.io/messenger/{messengerId}/draft'
```

**JavaScript**

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

fetch('https://api.workover.io/messenger/{messengerId}/draft', 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/{messengerId}/draft"

response = requests.put(url)

print(response.text)
```
