> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getlurk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Merging people

> Move the value of one person to another with a merge, what a merge does and refuses, and how to undo it.

A merge moves what one existing person holds to another, as receipts, and sends the first person's future events to the second. To make an earlier visitor ID part of someone's history without moving anything, use an [alias](https://docs.getlurk.com/guides/people.md#aliases-who-a-visitor-was) instead. In the dashboard: [Manage people](https://docs.getlurk.com/dashboard/manage-people.md#add-an-alias-or-merge).

## Merge two people

`POST /v1/users/merge` moves value from one existing person to another through receipts. It requires an owner or admin acting as a member. A project key or brand agent receives `approval_required`; merging is not an MCP tool or a change accepted by `lurk.apply`.

After a merge:

* New events sent with the old external identifier count for the person kept.
* `GET /v1/users/{id}` does **not** redirect: looking up the merged person's old internal ID or external identifier returns `not_found`. Read the person kept using their identifier instead.
* Historical receipts stay on the person they originally belonged to. Keep the old `usr_…` ID when you need to filter that history with `GET /v1/activity?user=...`.
* Amounts move as a `send` and a `receive`; levels, badges and passes keep the higher value rather than adding together. A merge does not combine the two people's rule-limit counters.
* The person merged away is left out of lists, counts and leaderboards. A unit an audience keeps does not move.

A merge is refused, with nothing changed, when the two are the same person, either is already merged away, either one's own ID is another person's alias, others were merged into the person merged away, that person has aliases (remove them first), has a hold or an open proposal waiting, or the amounts would not fit the kept person's caps. These are the main cases, not a complete list.

Keep the mapping in your app. Do not treat a successful merge as a general alias lookup service. `POST /v1/users/unmerge` can undo a merge when its balance and cap checks allow it; it does not undo everything the person earned or spent afterward.

Linking a chat account to a person is not available yet, because chat connectors are off.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.