# Put conversations into one; the others are hidden and can be pulled back out

`POST /workspace/inbox/threads/merge` · Rivier · inbox

Put conversations into one; the others are hidden and can be pulled back out.

- Scope: inbox:write
- Graphql: Mutation.inboxDeskMerge
- Sdk: inbox.desk.merge
- Cli: inbox desk merge

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "format": "uuid"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "minItems": 1,
      "maxItems": 20
    }
  },
  "required": [
    "target",
    "sources"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/workspace/inbox/threads/merge' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "target": "string",
  "sources": [
    "string"
  ]
}'
```
