---
search:
  tags:
    - People
    - POST
seo:
  description: >-
    Merge multiple people into a single target person. All identities, emails,
    and company… Reference for the POST /people/merge endpoint in the Modem API.
sidebar:
  label: Merge people
  badge: POST
title: Merge people
type: openapi-operation
---
Merge multiple people into a single target person. All identities, emails, and company associations are moved to the target.

`POST /people/merge`

**Request body** (`application/json`, required)

- `sourcePersonIds` (string[], required)
- `targetPersonId` (string, required)

Request body example:

```json
{
  "sourcePersonIds": [
    "string"
  ],
  "targetPersonId": "string"
}
```

**Responses**

- `200` — OK
- `400` — Invalid request (validation failed).
- `401` — Missing or invalid API key.
- `403` — The API key does not have access to this resource.
- `404` — The requested resource was not found.
- `409` — The request conflicts with an existing resource or idempotency operation.
- `429` — Rate limit exceeded.
- `500` — Internal server error.

Response example, 200:

```json
{
  "mergedCount": 0
}
```
