[DO NOT MERGE] Document user-to-user contact merges (Preview) - #613
Draft
adisan19 wants to merge 1 commit into
Draft
[DO NOT MERGE] Document user-to-user contact merges (Preview)#613adisan19 wants to merge 1 commit into
adisan19 wants to merge 1 commit into
Conversation
Documents user-to-user merge support on POST /contacts/merge and POST /contacts/merge/preview in the Preview (unstable) spec: shared email/phone requirement, the skip_duplicate_validation rejection (400 parameter_not_allowed), the 422 responses, and the new preview reason codes u2u_no_shared_identifier and source_has_whatsapp_data. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Do not merge. Draft documenting user-to-user merge support on the Preview (unstable) spec while the behaviour is being rolled out gradually; it will be closed or taken forward separately once rollout timing is decided.
Documents on
descriptions/0/api.intercom.io.yaml:POST /contacts/merge: user-to-user merges (both contactsrole: user), which require a shared email or phone;skip_duplicate_validationis not supported for them (400parameter_not_allowed); 422 responses for non-duplicate pairs and for source contacts with WhatsApp data; a user can never be merged into a lead.POST /contacts/merge/preview: same rules, plus the new blocked-reason codesu2u_no_shared_identifierandsource_has_whatsapp_data(schema enum + reason table), and the 400parameter_not_allowedresponse.🤖 Generated with Claude Code