Can I receive webhooks for changes in the association between a Company and a custom object?
SOLVE
Is there a way to receive webhooks for changes in the associations between a Company object and a custom object? I know it's not possible to directly enable webhook subscriptions on the custom object. But even if I enable the webhook subscription for the Company object to track association changes, won't I receive updates about the changes between the Company and the custom object?
Based on some quick testing, this is not currently possible. You'll notice in this HubSpot documentation, it mentions the "associationChange event is not currently supported for custom objects in private apps". Additionally, configuring this associationChange webhook subscription in the other direction (i.e. on a standard object type) does not lead to webhook events being triggered for association changes relating to custom objects, regardless of whether you use the legacy/standard or "generic" webhook object model.
I imagine supporting this will be on HubSpot's radar (as part of the move to the "generic" webhook object model), but I don't know for sure. I hope this proves helpful. Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
Based on some quick testing, this is not currently possible. You'll notice in this HubSpot documentation, it mentions the "associationChange event is not currently supported for custom objects in private apps". Additionally, configuring this associationChange webhook subscription in the other direction (i.e. on a standard object type) does not lead to webhook events being triggered for association changes relating to custom objects, regardless of whether you use the legacy/standard or "generic" webhook object model.
I imagine supporting this will be on HubSpot's radar (as part of the move to the "generic" webhook object model), but I don't know for sure. I hope this proves helpful. Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia