<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I use a Hubspot form's data to create a custom form on my website? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805001#M64733</link>
    <description>&lt;P&gt;I want event registration on my website, but I do not want to use an embedded form. I want to use my own custom form on my website, and then the API to save the data to Hubspot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to make the form on Hubspot, and then (using the form id for it) somehow fetch the form data&amp;nbsp;to use on my front-end in order to build my own custom form? I would then use the API to save each property to a contact.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!!&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 04:15:36 GMT</pubDate>
    <dc:creator>MArmstrong34</dc:creator>
    <dc:date>2023-06-09T04:15:36Z</dc:date>
    <item>
      <title>Can I use a Hubspot form's data to create a custom form on my website?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805001#M64733</link>
      <description>&lt;P&gt;I want event registration on my website, but I do not want to use an embedded form. I want to use my own custom form on my website, and then the API to save the data to Hubspot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to make the form on Hubspot, and then (using the form id for it) somehow fetch the form data&amp;nbsp;to use on my front-end in order to build my own custom form? I would then use the API to save each property to a contact.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 04:15:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805001#M64733</guid>
      <dc:creator>MArmstrong34</dc:creator>
      <dc:date>2023-06-09T04:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a Hubspot form's data to create a custom form on my website?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805428#M64762</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581596"&gt;@MArmstrong34&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to our community!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are on the right track, but there are a few things to note:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;There's no direct way to fetch a form's structure (like field names and types) to use to construct your form on the frontend via the HubSpot API&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;You can definitely build a custom form on your website that has the same fields as your HubSpot form, and then use the HubSpot Form API to submit data from your custom form&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;From the documentation — &lt;A href="https://legacydocs.hubspot.com/docs/methods/forms/forms_overview" target="_blank" rel="noopener"&gt;Submit data to a form (Supporting Authentication)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;“&lt;SPAN&gt;Form submissions from external sources can be made to any registered HubSpot form. You can see a list of forms on your account by navigating to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Marketing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Lead Capture&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Forms&lt;/STRONG&gt;&lt;SPAN&gt;.”&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;“We recommend creating a unique form in HubSpot to parallel your custom website form. This will make it easy to track submissions on that particular custom form in the future.”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The quick steps:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Create a form in HubSpot to send your data to&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Build your custom form&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Make sure to use the same properties as your HubSpot form.&amp;nbsp;Each form field should be an object with 'name' and 'value' properties, like this: {"fields”: [{"name”: “email”, “value”: “&lt;A href="mailto:example@example.com" target="_new"&gt;example@example.com&lt;/A&gt;”}, ...]}&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Make a submission to this endpoint&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;POST https://api.hsforms.com/submissions/v3/integration/secure/submit/:portalId/:formGuid&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:41:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805428#M64762</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-06-09T18:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a Hubspot form's data to create a custom form on my website?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805783#M64777</link>
      <description>&lt;P&gt;Hi Jaycee, thanks for the quick and detailed reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;There's no direct way to fetch a form's structure (like field names and types) to use to construct your form on the frontend via the HubSpot API.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What if we use the legacy API? Would that give us that option? I ask because of this page:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/forms/v2/get_fields" target="_blank"&gt;https://legacydocs.hubspot.com/docs/methods/forms/v2/get_fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 20:57:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-I-use-a-Hubspot-form-s-data-to-create-a-custom-form-on-my/m-p/805783#M64777</guid>
      <dc:creator>MArmstrong34</dc:creator>
      <dc:date>2023-06-11T20:57:30Z</dc:date>
    </item>
  </channel>
</rss>

