<?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 Re: How to integrate third Party API on Hubspot Website form submission in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-integrate-third-Party-API-on-Hubspot-Website-form/m-p/1104969#M80161</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/895215"&gt;@RKallepalli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the "onFormSubmit" event and make a call to a serverless function when the form is submitted. In order to use &lt;A href="https://developers.hubspot.com/docs/guides/cms/content/data-driven-content/serverless-functions/overview" target="_blank" rel="noopener"&gt;serverless functions&lt;/A&gt; in HubSpot, you would need an Content Hub Enterprise plan.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script&amp;gt;
window.addEventListener('message', function(event) {
  if (event.data.type === 'hsFormCallback' &amp;amp;&amp;amp; event.data.eventName === 'onFormSubmit') {

   // your code here
   
  }
});
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 15:55:56 GMT</pubDate>
    <dc:creator>evaldas</dc:creator>
    <dc:date>2025-02-06T15:55:56Z</dc:date>
    <item>
      <title>How to integrate third Party API on Hubspot Website form submission</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-integrate-third-Party-API-on-Hubspot-Website-form/m-p/1104689#M80143</link>
      <description>&lt;P&gt;How I can integrate a thirdparty API on form submission on Hubspot website?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to subscribe any plan?&lt;/P&gt;&lt;P&gt;I did not find any docs. Where can I find the docs on thirdparty API integration on Website.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 06:54:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-integrate-third-Party-API-on-Hubspot-Website-form/m-p/1104689#M80143</guid>
      <dc:creator>RKallepalli</dc:creator>
      <dc:date>2025-02-06T06:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to integrate third Party API on Hubspot Website form submission</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-integrate-third-Party-API-on-Hubspot-Website-form/m-p/1104969#M80161</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/895215"&gt;@RKallepalli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the "onFormSubmit" event and make a call to a serverless function when the form is submitted. In order to use &lt;A href="https://developers.hubspot.com/docs/guides/cms/content/data-driven-content/serverless-functions/overview" target="_blank" rel="noopener"&gt;serverless functions&lt;/A&gt; in HubSpot, you would need an Content Hub Enterprise plan.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script&amp;gt;
window.addEventListener('message', function(event) {
  if (event.data.type === 'hsFormCallback' &amp;amp;&amp;amp; event.data.eventName === 'onFormSubmit') {

   // your code here
   
  }
});
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 15:55:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-integrate-third-Party-API-on-Hubspot-Website-form/m-p/1104969#M80161</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-02-06T15:55:56Z</dc:date>
    </item>
  </channel>
</rss>

