APIs & Integrations

JZhao
Teilnehmer/-in

How can I listen on association change via webhook?

lösung

I am adding webhook on crms extension and I can configure which propertise change I can listen on via webhook. But how can I let association change go to webhook? e.g. I'd like to get events when a contact is associated to a company. How can I do that? 

1 Akzeptierte Lösung
dennisedson
Lösung
HubSpot-Produktteam
HubSpot-Produktteam

How can I listen on association change via webhook?

lösung

@JZhao ,

You could subscribe to num_associated_contacts

That property updates everytime a new contact is associated with a company

@prosa , any additional thoughts?

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
dennisedson
Lösung
HubSpot-Produktteam
HubSpot-Produktteam

How can I listen on association change via webhook?

lösung

@JZhao ,

You could subscribe to num_associated_contacts

That property updates everytime a new contact is associated with a company

@prosa , any additional thoughts?

lazevedo
Teilnehmer/-in

How can I listen on association change via webhook?

lösung

Hubspot has added the option to subscribe to association changes notifications on objects under Webhooks:

hubspot-association-changed.png

JZhao
Teilnehmer/-in

How can I listen on association change via webhook?

lösung

Thanks @dennisedson , where can I find the document for all such properties? 

0 Upvotes
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

How can I listen on association change via webhook?

lösung

You can use the properties api to get a list of all available properties.  I just did a search from there to find that one.