Hi folks, I need to send custom HTTP headers to a third party app when a Webhook gets called. Is there any way that this could be achieved similar to this PERL snippet ?
@Dadams reviving this old thread. it seems this was not picked up. i could not find any way to send custom headers in outgoing webhooks or CRM-card calls.
There hasn't been any update on this front, but just to make sure I can appropriately route the feedback, are you referring to the Webhooks API or the Webhook workflow action?
Webhooks API. Not to sell the feature or use-case, but webhooks are the only real-time connection point from HubSpot. It is currently very limited and makes suggesting or selecting HubSpot as a core CRM that might have integration needs difficult.
Thanks for looking into this and hopefully there is a short term solution that would be a win - win for both HubSpot and customers.
I have the same issue trying to integrate with AWS API Gateway. AWS won't allow API-keys sent in a querystring and HubSpot doesn't allow headers to bet set on the webhook so stuck in the middle with no options. Both should be allowed/configurable imo but on HubSpots end it might be as "easy" as adopting what curl does. Below is a curl request to a URL but the "--header" option is allowing a header to be set in the request.
This may be something we look at adding support for in the future, but at the moment there is not a way to add a custom header to the webhook requests.