APIs & Integrations

JZhao
参加者

How can I listen on association change via webhook?

解決

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件の承認済みベストアンサー
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

How can I listen on association change via webhook?

解決

@JZhao ,

You could subscribe to num_associated_contacts

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

@prosa , any additional thoughts?

元の投稿で解決策を見る

4件の返信
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

How can I listen on association change via webhook?

解決

@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
参加者

How can I listen on association change via webhook?

解決

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

hubspot-association-changed.png

JZhao
参加者

How can I listen on association change via webhook?

解決

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

0 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

How can I listen on association change via webhook?

解決

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.