Merge contact
POST/v1/contacts/{customer_id}/merge
Merge source_customer_id into this contact, which keeps its Customer ID. Takes an optional Idempotency-Key.
Path parameters
customer_idstringRequired
Request body
source_customer_idstringRequired- Up to 40 characters. 9 digits or more
Response
200Success
Response fields
merge_idstringRequiredmerged_customer_idstringRequiredcontactobjectRequiredcontact.customer_idstringRequiredcontact.first_namestringRequired- May be null
contact.last_namestringRequired- May be null
contact.usernamestringRequired- May be null
contact.phone_e164stringRequired- May be null
contact.emailstringRequired- May be null
contact.languagestringRequired- May be null
contact.lifecycleobjectRequired- May be null
contact.tagsarray of objectRequiredcontact.collaboratorsarray of stringRequiredcontact.attributesobjectRequiredcontact.statusstringRequiredcontact.channel_idstringRequired- May be null
contact.last_message_atstringRequired- May be null
contact.last_message_previewstringRequired- May be null
contact.created_atstringRequiredcontact.updated_atstringRequiredcontact.deleted_atstringRequired- May be null
Errors
401unauthorized. The key is missing, unknown or revoked403insufficient_scope. The key lacks the scope above403forbidden404not_found. either contact409contact_deleted, oridempotency_conflict422validation_error.same_contact,target_mergedorsource_merged
Every error has the same shape. See Errors.