APIs & Integrations

JZhao
Participant

How can I listen on association change via webhook?

SOLVE

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 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

How can I listen on association change via webhook?

SOLVE

@JZhao ,

You could subscribe to num_associated_contacts

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

@prosa , any additional thoughts?

View solution in original post

4 Replies 4
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

How can I listen on association change via webhook?

SOLVE

@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
Participant

How can I listen on association change via webhook?

SOLVE

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

hubspot-association-changed.png

JZhao
Participant

How can I listen on association change via webhook?

SOLVE

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

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

How can I listen on association change via webhook?

SOLVE

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.