# Access Custom Request Headers in Serverless HTTP Functions

**URL:** <https://community.hubspot.com/t/access-custom-request-headers-in-serverless-http-functions/84626>\
**Category:** HubSpot Ideas\
**Tags:** design-manager, integrations, api\
**Created:** [July 4, 2023, 8:29am UTC](https://community.hubspot.com/t/access-custom-request-headers-in-serverless-http-functions/84626 "2023-07-04T08:29:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fm-hcarvalho](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@fm-hcarvalho](https://community.hubspot.com/u/fm-hcarvalho)\
**Post date:** [July 4, 2023, 8:29am UTC](https://community.hubspot.com/t/access-custom-request-headers-in-serverless-http-functions/84626/1 "2023-07-04T08:29:53Z")

</div>

Currently HubSpot does not support accessing custom headers in serverless HTTP functions. The context.headers object only includes a limited set of predefined headers.

This limitation is actually a nonsense on current state of the technology, since the Headers are a channel of passing valuable information to the script.

---

<div class="post-metadata">

**Author:** ![fm-hcarvalho](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@fm-hcarvalho](https://community.hubspot.com/u/fm-hcarvalho)\
**Post date:** [July 13, 2023, 2:15pm UTC](https://community.hubspot.com/t/access-custom-request-headers-in-serverless-http-functions/84626/2 "2023-07-13T14:15:10Z")

</div>

Hey, Kanas,

yes, at the time i’ve posted the idea i had already done the job via Azure. I’ve just posted the idea here because it makes no sense to have to go to third parties just because we can’t capture custom headers in HS serverless functions …

Kind regards!
