APIs & Integrations

sebahabib
Participante

Using webhooks to track contacts uodates and creation

resolver

Hi there!

 

I'm looking to integrate Hubspot CRM with another party, what I need is to set webhooks whenever a contact is updated or created and I need to customize the payload that these webhooks send to include the contact's data, what is the best thing to use? Although I have tried the webhook API "https://legacydocs.hubspot.com/docs/methods/webhooks/webhooks-overview", but I don't have any control over the payload!

I'd really appreciate the help.

 

Thanks

0 Me gusta
1 Soluciones aceptada
WendyGoh
Solución
HubSpot Employee
HubSpot Employee

Using webhooks to track contacts uodates and creation

resolver

Hey @sebahabib,

 

Currently, there isn't a Webhook function within API that allows you to customize the payload. 

 

Having said that, for all the subscription event, the Webhooks API Overview will return the contact ID on the request payload. With the contact ID, you can retrieve more details about the contact by using the CRM API | Contacts:

GET/crm/v3/objects/contacts/{contactId} 

Ver la solución en mensaje original publicado

2 Respuestas 2
WendyGoh
Solución
HubSpot Employee
HubSpot Employee

Using webhooks to track contacts uodates and creation

resolver

Hey @sebahabib,

 

Currently, there isn't a Webhook function within API that allows you to customize the payload. 

 

Having said that, for all the subscription event, the Webhooks API Overview will return the contact ID on the request payload. With the contact ID, you can retrieve more details about the contact by using the CRM API | Contacts:

GET/crm/v3/objects/contacts/{contactId} 

sebahabib
Participante

Using webhooks to track contacts uodates and creation

resolver

Hi!

 

Thank you for your answer, I appreciate the help!

0 Me gusta