Parsing custom headers to serverless function context

Is there a way to access custom headers sent from client on the serverless function? Currently hubspot strips out the rest of the headers. Is there a way to tell hubspot which additional headers to pass through to the serverless function?
```
exports.main = (context, sendResponse) => {
console.log(context.headers[‘signature’]; // this will be used to decrypt the body “context.body”
}
```

Hi, @DFynn. Thanks for your question. This one is not possible. HubSpot does not support accessing custom headers in serverless HTTP functions. The context.headers object only includes a limited set of predefined headers.

This is valuable feedback. Adding your suggestion to the Ideas Community and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. If you add a link back to your Idea post, I’ll be sure to give it an upvote to help get the ball rolling.

Best,

Jaycee

Here’s the idea, if anyone wants to upvote it >> https://community.hubspot.com/t5/HubSpot-Ideas/Access-Custom-Request-Headers-in-Serverless-HTTP-Functions/idi-p/815224

Added an upvote :white_check_mark: