# Get submissions for a form using Private apps

**URL:** <https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823>\
**Category:** APIs & Integrations\
**Created:** [December 8, 2022, 11:39am UTC](https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823 "2022-12-08T11:39:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxholl](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/fxholl/32/102498_2.png) [@fxholl](https://community.hubspot.com/u/fxholl)\
**Post date:** [December 8, 2022, 11:39am UTC](https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823/1 "2022-12-08T11:39:49Z")

</div>

Hello,

I would like to export via API the form entries from the 3 Hubspot forms we have on our site. I am not a developer, so I’ve been using [n8n.io](http://n8n.io) for integrations.

I found this post [https://legacydocs.hubspot.com/docs/methods/forms/get-submissions-for-a-form](https://legacydocs.hubspot.com/docs/methods/forms/get-submissions-for-a-form). However, API Key mecanism has been deprecated.

How can I get form entries using the Personal app I created in Hubspot?

---

<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:** [December 8, 2022, 7:29pm UTC](https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823/2 "2022-12-08T19:29:16Z")

</div>

Hi, @fxholl 👋 To clarify, the endpoint is stable and supported. It’s only the authorization method that is changing. I can provide links to our documentation and resources, but you’ll likely need a developer to assist in incorporating your private app and form(s).

Resources:

- [Migrate to a Private App](https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app)
- [Migrating from the API key to private apps examples](https://youtu.be/F3Qd9Hp4giM) (HubSpot Developers YouTube)
- [Authentication Overview](https://legacydocs.hubspot.com/docs/methods/auth/oauth-overview#:~:text=Using%20a%20private%20app%20access%20token) (for a Private App)
- [Authorization Header documentation](https://legacydocs.hubspot.com/docs/methods/oauth2/using-access-tokens) (HubSpot)

One question to clarify, you mentioned having three “HubSpot” forms. Are those forms you’ve created in HubSpot and embedded on your page? Or are they three non-HubSpot forms you’ve been using an integration to sync to your portal? I am not 100%, and I would rather not guess.

Thanks for the additional information! — Jaycee

---

<div class="post-metadata">

**Author:** ![fxholl](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/fxholl/32/102498_2.png) [@fxholl](https://community.hubspot.com/u/fxholl)\
**Post date:** [December 22, 2022, 11:45am UTC](https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823/3 "2022-12-22T11:45:46Z")

</div>

Regarding the migration from API key to app token:

I am testing the creation of a task via api. The legacy documentation ([https://legacydocs.hubspot.com/docs/methods/engagements/create\_engagement](https://legacydocs.hubspot.com/docs/methods/engagements/create_engagement)) says to use this URL:

`https://api.hubapi.com/engagements/v1/engagements?hapikey=demo`

The only change with app token is where it says “demo” I will paste the app token instead of the API key, correct?

---

<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:** [December 22, 2022, 8:26pm UTC](https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823/4 "2022-12-22T20:26:45Z")

</div>

Hi, @fxholl 👋 That is incorrect. You’ll need to include the token in the header of your request. You can see an example of it in the [v3 Contacts endpoint](https://developers.hubspot.com/docs/api/crm/contacts):

 ![CleanShot 2022-12-22 at 13.02.41@2x.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/1X/d99a620dc3fd233eeb36b024985cb4fc73be2125.jpeg)

Documentation here:

- [Using a private app access token](https://legacydocs.hubspot.com/docs/methods/auth/oauth-overview#:~:text=Using%20a%20private%20app%20access%20token)
- [Header format](https://legacydocs.hubspot.com/docs/methods/oauth2/using-access-tokens)

Additionally, you can use the v3 Create a Task endpoint to test out your private app token and see the formatting in action — [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/tasks)

Best,

Jaycee
