# Serverless functions external API webhooks

**URL:** <https://community.hubspot.com/t/serverless-functions-external-api-webhooks/51038>\
**Category:** APIs & Integrations\
**Tags:** crm, best-practices, enterprise\
**Created:** [February 7, 2022, 6:39pm UTC](https://community.hubspot.com/t/serverless-functions-external-api-webhooks/51038 "2022-02-07T18:39:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CPacheco](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cpacheco/32/93124_2.png) [@CPacheco](https://community.hubspot.com/u/CPacheco)\
**Post date:** [February 7, 2022, 6:39pm UTC](https://community.hubspot.com/t/serverless-functions-external-api-webhooks/51038/1 "2022-02-07T18:39:18Z")

</div>

Hi everybody!,  
I´m trying to solve all of my Hubspot API requirements only with serverless functions, and some of this solutions are pretty good, for example: I built a page that creates multiple contacts via ajax, it was so useful because the basic embedded form creates one at a time, but this solution is hosted in the same account that I did my serverless functions query.  
I thought that I could solve third part APIs requirements with this tool, the problem is Hubspot always blocks all of this external webhooks to a serverless functions endpoint, I know it because I did the same process, same parameters, same Hubspot API endpoints but with another backend solution (PHP in this case) and works like I need(with serverless functions send me a 403 error), Did I miss something? or Do I need any additional configuration for unlock this external queries?

---

<div class="post-metadata">

**Author:** ![stefen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefen/32/29274_2.png) [@stefen](https://community.hubspot.com/u/stefen)\
**Post date:** [February 9, 2022, 1:44am UTC](https://community.hubspot.com/t/serverless-functions-external-api-webhooks/51038/2 "2022-02-09T01:44:10Z")

</div>

@CPacheco it sounds like you might be running into a CORS issue. HubSpot doesn’t allow you to modify the CORS rules at this time. More info here: [Serverless functions reference (design manager) - HubSpot docs](https://developers.hubspot.com/docs/cms/data/serverless-functions/reference#cors)
