Get submissions for a form using Private apps

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 for integrations.

I found this post 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?

Hi, @fxholl :waving_hand: 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:

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

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

Hi, @fxholl :waving_hand: 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:

Documentation here:

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

Best,

Jaycee