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

# Get the chat widget draft

GET`/messenger/{messengerId}/draft`

The Messenger editor’s draft: which settings differ from what visitors see (`fields`, `patch`), the settings with the draft laid over them (`config`), the live settings (`live`) and what the Messenger would show with the draft set live (`preview`). `dirty` is false when nothing is pending.

## Path Parameters

`messengerId`

numberrequired

## Response

200

**cURL**

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

**JavaScript**

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

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.get(url)

print(response.text)
```
