APIs & Integrations

Hirthikraj
Participant

Verifying webhook response

Résolue

Hi Team,

 

I need to verify the webhook response received from HubSpot.

There are three methods to verify the response which is v1,v2 and v3.

Can I verify the response in any method or should i verify the response with the version included in X-HubSpot-Signature-Version ?

If yes, is value in the X-HubSpot-Signature-Version header randomly generated ?

Thank you.

0 Votes
1 Solution acceptée
RMones
Solution
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Verifying webhook response

Résolue

Hi @Hirthikraj ,

 

No for the three types of security headers you have three different solutions to check if the webhook call is valid.. So you can't use v1 header with the check for v2..
You can use the header HubSpot-Signature-Version to check which version you need.

And no the header versions are not generated but always the same for the type of webhook type call.. 

Webhook from your app
Webhook from an Workflow

CRM Card

 

Regards Ronald

Voir la solution dans l'envoi d'origine

2 Réponses
RMones
Solution
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Verifying webhook response

Résolue

Hi @Hirthikraj ,

 

No for the three types of security headers you have three different solutions to check if the webhook call is valid.. So you can't use v1 header with the check for v2..
You can use the header HubSpot-Signature-Version to check which version you need.

And no the header versions are not generated but always the same for the type of webhook type call.. 

Webhook from your app
Webhook from an Workflow

CRM Card

 

Regards Ronald

dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Verifying webhook response

Résolue

@RMones ,

Any thoughts on this?

0 Votes