Using webhooks to track contacts uodates and creation

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 “Accounts Dashboard | HubSpot”, but I don’t have any control over the payload!

I’d really appreciate the help.

Thanks

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}

Hi!

Thank you for your answer, I appreciate the help!