We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Dec 8, 2022 6:39 AM
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?
Solved! Go to Solution.
Dec 8, 2022 2:29 PM
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:
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
Dec 8, 2022 2:29 PM
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:
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
Dec 22, 2022 6:45 AM
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?
Dec 22, 2022 3:26 PM
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:
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 — https://developers.hubspot.com/docs/api/crm/tasks
Best,
Jaycee