Merge two Contacts
The remaining contact will contain all conversations that the removed contact did. If both contacts had conversations within the same App, messages from the removed contact will be merged into corresponding active conversations in the destination contact. Channel identities will be moved from the source contact to the destination contact only for channels that weren't present there before. Moved channel identities will be placed at the bottom of the channel priority list. Optional fields from the source contact will be copied only if corresponding fields in the destination contact are empty. The contact being removed cannot be referenced after this call.
Request
- Base URLhttps://us.conversation.api.sinch.com
- URLhttps://us.conversation.api.sinch.com/v1/projects/{project_id}/contacts/{destination_id}:merge
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token
Request body
Response
A successful response.
Example response
{
"channel_identities": [
{
"channel": "WHATSAPP"
}
],
"channel_priority": [
"WHATSAPP"
],
"id": "{CONTACT_ID}"
}Changes
No recorded changes to this operation across all 3 revisions of this API.