Skip to main content
POST
Merge Customer
The duplicate’s conversations, tags, groups and customer field values move to this customer, and the duplicate is removed. Returns the merged customer. Returns 422 with invalid_merge if either customer is already merged, or if both IDs are the same.

Authorizations

Authorization
string
header
required

Your API key. Create one under Setup → Developer API Keys and select the permissions this endpoint needs.

Scopes

contacts:write

Path Parameters

contact_id
integer
required

The id of the customer to keep.

Example:

1

Body

application/json
loser_id
integer
required

The id of the duplicate customer to merge in and remove.

Response

200 OK

data
object