cURL
curl --request POST \ --url https://api.getarbol.com/v1/contacts/merge \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "primaryContactId": "<string>", "secondaryContactId": "<string>" } '
{ "id": "<string>", "givenName": "<string>", "familyName": "<string>", "displayName": "<string>", "contactPoints": [ { "id": "<string>", "type": "EMAIL", "value": "<string>", "label": "<string>", "isPrimary": true, "isVerified": true } ], "addresses": [ { "id": "<string>", "type": "HOME", "streetAddress": "<string>", "addressLocality": "<string>", "addressRegion": "<string>", "postalCode": "<string>", "addressCountry": "<string>", "isPrimary": true } ], "aiSummary": "<string>", "metadata": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Merge two contacts into one. The secondary contact’s data is merged into the primary contact.
Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.
ID of the contact to keep
ID of the contact to merge into the primary
Merged contact
Show child attributes