APIs & Integrations

sebahabib
Teilnehmer/-in

Using webhooks to track contacts uodates and creation

lösung

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 Upvotes
1 Akzeptierte Lösung
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Using webhooks to track contacts uodates and creation

lösung

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} 

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Using webhooks to track contacts uodates and creation

lösung

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
Teilnehmer/-in

Using webhooks to track contacts uodates and creation

lösung

Hi!

 

Thank you for your answer, I appreciate the help!

0 Upvotes