APIs & Integrations

JZhao
Participante

How can I listen on association change via webhook?

resolver

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 Solução aceita
dennisedson
Solução
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

How can I listen on association change via webhook?

resolver

@JZhao ,

You could subscribe to num_associated_contacts

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

@prosa , any additional thoughts?

Exibir solução no post original

4 Respostas 4
dennisedson
Solução
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

How can I listen on association change via webhook?

resolver

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

How can I listen on association change via webhook?

resolver

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

hubspot-association-changed.png

JZhao
Participante

How can I listen on association change via webhook?

resolver

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

0 Avaliação positiva
dennisedson
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

How can I listen on association change via webhook?

resolver

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.