APIs & Integrations

fxholl
Participant

Get submissions for a form using Private apps

Résolue

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?

0 Votes
1 Solution acceptée
Jaycee_Lewis
Solution
Gestionnaire de communauté
Gestionnaire de communauté

Get submissions for a form using Private apps

Résolue

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

Voir la solution dans l'envoi d'origine

0 Votes
3 Réponses
Jaycee_Lewis
Solution
Gestionnaire de communauté
Gestionnaire de communauté

Get submissions for a form using Private apps

Résolue

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes
fxholl
Participant

Get submissions for a form using Private apps

Résolue

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?

0 Votes
Jaycee_Lewis
Gestionnaire de communauté
Gestionnaire de communauté

Get submissions for a form using Private apps

Résolue

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

CleanShot 2022-12-22 at 13.02.41@2x.png

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



linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes