---
title: "Merge people"
method: POST
path: "/people/merge"
tags: ["People"]
---

# Merge people

`POST /people/merge`

## Request

- Base URL: `https://api.modem.dev/v1`
- URL: `https://api.modem.dev/v1/people/merge`
- Auth: HTTP bearer

Merge multiple people into a single target person. All identities, emails, and company associations are moved to the target.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `sourcePersonIds` string[], required
  - `targetPersonId` string, required

## Response `200`

OK

- object
  - `mergedCount` integer, required

## Other responses

- `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.

---

[API](https://skmtc.dev/modem/apis/modem-api.md) · [All operations](https://skmtc.dev/modem/apis/modem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modem/apis/modem-api/revisions/f889038a1048?raw)
