# 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:** 1\
**Showing post:** 3

<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?

---

_[View the full topic](https://community.hubspot.com/t/get-submissions-for-a-form-using-private-apps/70823)._
