APIs & Integrations

Dor
Mitglied

Sync on merged contacts using HubSpot API

lösung

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 Akzeptierte Lösung
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Sync on merged contacts using HubSpot API

lösung

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.

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Sync on merged contacts using HubSpot API

lösung

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.