Skip to Content
IdentityThe identity.merged Webhook

The identity.merged Webhook

When two people a realtime sync has already delivered turn out to be one person, a webhook-style destination can be told, so your own systems merge the two records too. The delivery is called identity.merged.

It is sent by realtime syncs to Webhook, HTTP Request, Zapier, Azure Functions and Google Cloud Functions destinations with Merge people at the destination turned on (see Destination Merges).

The delivery

{ "type": "identity.merged", "sync_id": "6a0f3c2e-5b1d-4e8a-9c7f-1d2e3f4a5b6c", "survivor": { "key": { "family": "user_id", "value": "customer-42" }, "profile_id": "01a1ffc6-9118-77e2-a1c2-495a0a3c6344" }, "retired": { "key": { "family": "user_id", "value": "customer-42-old" }, "profile_id": "01a1ffd0-2b47-7c1e-b0a3-8c5d4e2f1a90" }, "cause": "identity_merged", "occurred_at": "2026-11-20T10:15:04.112Z", "op_id": "4f1c9e2a7b6d4c3e" }
FieldMeaning
typeAlways identity.merged.
sync_idThe realtime sync that sent it.
survivorThe record to keep: the key your destination knows it by, and its profile ID.
retiredThe record merged into it. Its key will not be used for this person again.
causeWhy the two became one.
occurred_atWhen the graph joined them.
op_idThe same for every retry of this merge. Use it to apply each merge once.

The delivery carries the same headers and authentication as the destination’s other deliveries.

Handling it

  1. Look the retired key up in your system. If you have no such record, there is nothing to do: answer with a success.
  2. Merge the retired record into the survivor’s, then delete or mark the retired one.
  3. Answer with a 2xx status. An error status is retried, with the same op_id.

A merge is sent only when the graph’s evidence is trusted: a link from your server, a verified sign-in, an admin, or your warehouse. A link a browser asserted on its own never sends a merge.

Last updated on