# Sunsetting of API Keys and V2 Form API

**URL:** <https://community.hubspot.com/t/sunsetting-of-api-keys-and-v2-form-api/69684>\
**Category:** APIs & Integrations\
**Tags:** professional, forms\
**Created:** [November 21, 2022, 5:20pm UTC](https://community.hubspot.com/t/sunsetting-of-api-keys-and-v2-form-api/69684 "2022-11-21T17:20:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardManson](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RichardManson](https://community.hubspot.com/u/RichardManson)\
**Post date:** [November 21, 2022, 5:20pm UTC](https://community.hubspot.com/t/sunsetting-of-api-keys-and-v2-form-api/69684/1 "2022-11-21T17:20:40Z")

</div>

Hello everyone,  
I know that the upcoming change will affect all submissions using an API Key but will this change affect posting leads directly to the Hubspot form submission URL:  
[https://forms.hubspot.com/uploads/form/v2/XXXX/XXXXXXXXXX](https://forms.hubspot.com/uploads/form/v2/XXXX/XXXXXXXXXX)  
I reached out to Hubspot Help and they suggested I leave a Post here to get an answer for this issue.  
If anyone has any concrete answers for this issue, this would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 21, 2022, 7:37pm UTC](https://community.hubspot.com/t/sunsetting-of-api-keys-and-v2-form-api/69684/2 "2022-11-21T19:37:31Z")

</div>

Hi, @RichardManson 👋 Thanks for reaching out!

Quick question, which endpoint are you referring to:

- [Submit data to a form](https://legacydocs.hubspot.com/docs/methods/forms/v2/submit_form) ( **No Authentication** )  
`POST https://forms.hubspot.com/uploads/form/v2/:portal_id/:form_guid​`
- [Submit data to a form](https://legacydocs.hubspot.com/docs/methods/forms/v2/submit_form_authentication) ( **Supporting Authentication** )  
`POST https://api.hsforms.com/submissions/v2/post/upload/secure/:portalId/:formGuid​`

If it’s the first endpoint I linked to, nothing changes, as this endpoint never required an HAPI key or OAuth/Private App. If it is the second, you’ll need to update to use a Private App or OAuth.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![RichardManson](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RichardManson](https://community.hubspot.com/u/RichardManson)\
**Post date:** [November 21, 2022, 8:17pm UTC](https://community.hubspot.com/t/sunsetting-of-api-keys-and-v2-form-api/69684/3 "2022-11-21T20:17:13Z")

</div>

Hello Jaycee,  
Thank you for your quick response to my message!  
I believe that we are using the 1st endpoint you shared:  
[https://forms.hubspot.com/uploads/form/v2/:portal\_id/:form\_guid​](https://forms.hubspot.com/uploads/form/v2/:portal_id/:form_guid%E2%80%8B)  
We only have the “portal\_id” and and the “form\_guid” within the endpoint.  
So this method of posting leads to Hubspot won’t be affected with the upcoming API sunsetting?
