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

# Merge labels into one

POST`/messenger/{messengerId}/labels/{labelId}/merge`

Moves every conversation carrying the labels in `from` (catalog labels, or labels only conversations carry, whatever their case) onto this label, each conversation once, and removes the merged catalog labels; their children move under this one. Owners and admins. Safe to repeat: run again it changes nothing.

## Path Parameters

`messengerId`

numberrequired

`labelId`

numberrequired

## Response

200

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/messenger/{messengerId}/labels/{labelId}/merge'
```

**JavaScript**

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

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

response = requests.post(url)

print(response.text)
```
