Hi @RodrigoGomes as @BérangèreL shared, you'll need the documentation linked to submit data for a form from the latest stable version of the forms API, which isn't part of the Marketing API Forms Beta that you've linked to.
If my reply answered your question please mark it as a solution to make it easier for others to find.
I'm developing a new solution, but I have this same issue, there is a way in the older API, but I can't be able to find on new API. I'm using private App.
Thank you for reaching out to the Community! For more visibility, I'd recommend creating a new post.
I understand that you'd like to submit data to a form via API. Or are you using an external form and you'd like to see the form submissions into HubSpot?
Also, if the question is about API and development, I recommend posting on the Developers Forum here.
I'd like invite a couple of subject matter experts to this conversation: Hi @zach_threadint, @Teun and @Jnix284 do you have suggestions to help @RodrigoGomes, please?
If anybody else has anything to add and/or share, please feel free to join in the conversation 🙂
Bérangère, thanks for response. I already solved my problem just using "Submit data to a form", and works very well, but the biggest problem that i don't know how much time this still works. Because the doc say that's legacy doc.
So, to clarify, ‘legacy’ is just referring to the documentation, not the APIs themselves.
APIs provided on the legacy docs are still supported. On developer documentation overview found here https://developers.hubspot.com/docs/api/overview, you’ll see we have a banner which says: Looking for an older version of the API? They are still stable and supported. Go to legacy docs.
Hi @RodrigoGomes as @BérangèreL shared, you'll need the documentation linked to submit data for a form from the latest stable version of the forms API, which isn't part of the Marketing API Forms Beta that you've linked to.
If my reply answered your question please mark it as a solution to make it easier for others to find.
Mar 2, 20212:34 AM - last edited on Mar 15, 20217:32 AM by sharonlicari
Member
Send external form data to hubspot
SOLVE
yes i am also looking for the similar answer and the site for which i need suggestions is hosted on wordpress plzguide if you guys know about the right way i need the guidance very urgent to move my data.
What difficulties are you currently facing? The documentation you linked is our forms API which is typically used to integrate an external form to HubSpot. It's particularly useful if you want to have total control of the form look/feel and submission logic whilst ensuring the data captured is securely sent to HubSpot.
I'm happy to answer any specific questions you might have. Some other ideas might be to consider using an embedded hubspot form in place of the current form?
I have a registration form for a community, but it is an external hubspot form, I integrate the API code in PHP language, with the portal and form data.
connected successfully thanks, but send the form with empty fields to hubspot,
the fields in my web form are almost equal to the form I created in Hubspot, the difference is the password fields that are not included in the Hubspot form.
Thats good to hear @BT . One thing I would say is that you should not be storing password information in your HubSpot portal. For everything else you can include it in your POST request. Typically the process looks something like this:
And make the POST request. The data should be updated accordingly. It's important to note that the fields I include in the code above are the internal property values of the HubSpot properties I wish to update.
Also worth noting the "hs_context" parameter is very important. That is used to pass meta data relating to the form submission into HubSpot. It can associate a contact record in HubSpot to the usertoken/cookie on the browser.