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

# Set reply targets and assignment rules in Support

PUT`/messenger/{messengerId}/inbox-rules`

Any of `firstTarget`, `nextTarget`, `holidays`, `tiers`, `autoAssign`, `capacity`, `pool`, `breachWarnings` and `claimOnWrite`; fields left out stay. Safe to repeat: the answer lists in `changed` the fields this call changed, empty when nothing did. Owners and admins only.

## Path Parameters

`messengerId`

numberrequired

## Response

200

**cURL**

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

**JavaScript**

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

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

response = requests.put(url)

print(response.text)
```
