Merge two contacts into one.
curl --request POST \
--url https://api.example.com/orgs/{org_id}/contacts/merge \
--header 'Content-Type: application/json' \
--data '
{
"source_contact_id": "<string>",
"target_contact_id": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"blocked": true,
"channels": [
{
"id": "<string>",
"channel_type": "internal",
"channel_id": "<string>",
"channel_name": "<string>",
"channel_display_name": "<string>",
"channel_avatar": "<string>",
"country": "<string>",
"agent": "<string>",
"ip": "<string>",
"language": "<string>",
"platform_data": {},
"created_at": "2023-12-25",
"updated_at": "2023-12-25",
"link": "<string>"
}
],
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}The ID of the org
Was this page helpful?
curl --request POST \
--url https://api.example.com/orgs/{org_id}/contacts/merge \
--header 'Content-Type: application/json' \
--data '
{
"source_contact_id": "<string>",
"target_contact_id": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"blocked": true,
"channels": [
{
"id": "<string>",
"channel_type": "internal",
"channel_id": "<string>",
"channel_name": "<string>",
"channel_display_name": "<string>",
"channel_avatar": "<string>",
"country": "<string>",
"agent": "<string>",
"ip": "<string>",
"language": "<string>",
"platform_data": {},
"created_at": "2023-12-25",
"updated_at": "2023-12-25",
"link": "<string>"
}
],
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}