We are continuing to build the next generation of HubSpot’s APIs to provide the consistency and completeness our developer community needs. Today, we are excited to announce that a refreshed Forms API and documentation is now available in developer preview.
What’s happening
HubSpot uses forms to collect lead information. The v3 Forms API follows HubSpot's new API design standards and can be used to create new forms or get information from existing ones.
It includes the following endpoints:
Also new is the concept of formType. When creating a new form, you’ll need to include one of the following form types: hubspot (default), captured, flow or blog_comment.
Some other noteworthy highlights
Two endpoints from the v2 Forms API are redundant and have not been rebuilt as part of the latest v3 Forms API, specifically Get all fields from a form and Get a single field from a form. Both these can be achieved with the v3 endpoint Get a form definition.
Additionally, the Get submissions for a form endpoint and Submit data to a form endpoints are not part of this initial v3 release, but they will be addressed in a future update.
What this means for developers
Please let us know if you have any feedback or questions by joining the conversation in the community.