How to submit data to a form through an API

SOLVE
Nossan
Member

I ask for help!

 

I think I can submit data to a from through the follow API:

https://legacydocs.hubspot.com/docs/methods/forms/submit_form

 

But, the url includes "legacydocs" and I cannot find similar API at https://developers.hubspot.com/docs/api/marketing/forms.

 

What's the latest way to submit data to a form through an API?

0 Upvotes
1 Accepted solution

Accepted Solutions
Teun
Solution
Guide | Diamond Partner

Hi @Nossan ,

 

https://legacydocs.hubspot.com/docs/methods/forms/submit_form is the latest API available to submit forms. The new API docs are still being created, so not everything is complete or migrated yet. So sometimes, you need to use the legacydocs, which is not a problem, unless you see 'DEPRECATED' above documentation.



Did my answer solve your issue? Help the community by marking it as the solution.

View solution in original post

3 Replies 3
Teun
Solution
Guide | Diamond Partner

Hi @Nossan ,

 

https://legacydocs.hubspot.com/docs/methods/forms/submit_form is the latest API available to submit forms. The new API docs are still being created, so not everything is complete or migrated yet. So sometimes, you need to use the legacydocs, which is not a problem, unless you see 'DEPRECATED' above documentation.



Did my answer solve your issue? Help the community by marking it as the solution.

View solution in original post

Nossan
Member

Thank you for your reply, @Teun !

Your answer solved my problem!!

Teun
Guide | Diamond Partner

Happy to help!



Did my answer solve your issue? Help the community by marking it as the solution.
0 Upvotes