Sync on merged contacts using HubSpot API

SOLVE
Highlighted
New Contributor

Hi,

 

We're syncing HubSpot data into our platform using the API for our customers. In order to do that, we pull all the data on the first integration, and then we pull daily diffs from the API and we use webhooks in order to update on deleted contacts.

How should we handle merged contacts?

it seems that the merged contact isn't treated as deleted and hence doesn't send through the webhook.

 

How can we sync our platform with merged contacts?

1 Accepted solution

Accepted Solutions
Highlighted
Solution
HubSpot Moderator

Hi @Dor,

 

Currently, there isn't a Webhook event for merges. The only workaround now is to poll contacts and if the contact has been merged, the merged vid values will appear in the merged-vids array (Learn more here: Get all contacts | Contacts API)

 

That said, I'd recommend upvoting and comment on this existing similar idea - Merge Contact Subscription for Webhooks so that it's visible to the HubSpot product team and other HubSpot customers and developers. Hopefully this will gather more interest.

View solution in original post

1 Reply 1
Highlighted
Solution
HubSpot Moderator

Hi @Dor,

 

Currently, there isn't a Webhook event for merges. The only workaround now is to poll contacts and if the contact has been merged, the merged vid values will appear in the merged-vids array (Learn more here: Get all contacts | Contacts API)

 

That said, I'd recommend upvoting and comment on this existing similar idea - Merge Contact Subscription for Webhooks so that it's visible to the HubSpot product team and other HubSpot customers and developers. Hopefully this will gather more interest.

View solution in original post