/contacts/mergeMerge a lead into a user contact
Merges a contact with the lead role into a contact with the user role. Supply the source contact in from and the destination contact in into; set skip_duplicate_validation to true to merge contacts without a shared email or phone. The source contact is removed from the active contact list after the merge, so update stored IDs to the destination contact's ID.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Identifies the source and destination contacts for the merge.
One documented failure
invalid_mergeContacts can only be merged when they are duplicates (matching email or phone). Pass skip_duplicate_validation=true to override this check.
One documented failure
unauthorizedAccess Token Invalid
A 400 is returned when the merge request fails validation, including when the contacts do not meet the merge requirements. A 401 is returned when the request is unauthorized. The from field must identify a lead and the into field must identify a user; set skip_duplicate_validation to true only when you intend to merge contacts without a shared email or phone.