Merge Contacts
Merge two contacts into a single contact, combining their data
Header parameters
X-API-KEYstringRequired
Your API key
X-SECRET-KEYstringRequired
Your Secret key
Body
app_idstringRequired
from_contactstringRequired
ID of the contact that will remain after merge
to_contactstringRequired
ID of the contact that will be merged and deleted
Responses
200
Contacts merged successfully
application/json
400
Invalid request or contacts not found
500
Error during merge process
post
POST /v2/ExternalApi/mergeContacts HTTP/1.1
Host: api.gleantap.com
X-API-KEY: text
X-SECRET-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"app_id": "text",
"from_contact": "text",
"to_contact": "text"
}
{
"status": true,
"message": "Contacts merged successfully"
}
Last updated