<?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 Sending form with ajax recaptcha in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1220280#M85271</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Is it possible to send a form via ajax when the form also has a recaptcha?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      $.ajax({
          type: 'POST',
          url: 'https://api.hsforms.com/submissions/v3/integration/submit/******/******-*****-*****',
          data: JSON.stringify(data),
          dataType: 'json',
          contentType: 'application/json',
          success: function(_data) {
              console.log('HubSpot submission success', _data);
          },
          error: function(xhr, status, error) {
              console.error('HubSpot submission failed');
              console.error('Status:', status);
              console.error('Error:', error);
              console.error('Response text:', xhr.responseText);
          }
      });&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;This code works without Recaptcha but when enabling it on this form it will give me the error that recaptcha is not correct.&lt;BR /&gt;&lt;BR /&gt;Is there a way to send the recaptcha token in this ajax post?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2025 15:39:00 GMT</pubDate>
    <dc:creator>Bent1</dc:creator>
    <dc:date>2025-11-05T15:39:00Z</dc:date>
    <item>
      <title>Sending form with ajax recaptcha</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1220280#M85271</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Is it possible to send a form via ajax when the form also has a recaptcha?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      $.ajax({
          type: 'POST',
          url: 'https://api.hsforms.com/submissions/v3/integration/submit/******/******-*****-*****',
          data: JSON.stringify(data),
          dataType: 'json',
          contentType: 'application/json',
          success: function(_data) {
              console.log('HubSpot submission success', _data);
          },
          error: function(xhr, status, error) {
              console.error('HubSpot submission failed');
              console.error('Status:', status);
              console.error('Error:', error);
              console.error('Response text:', xhr.responseText);
          }
      });&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;This code works without Recaptcha but when enabling it on this form it will give me the error that recaptcha is not correct.&lt;BR /&gt;&lt;BR /&gt;Is there a way to send the recaptcha token in this ajax post?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 15:39:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1220280#M85271</guid>
      <dc:creator>Bent1</dc:creator>
      <dc:date>2025-11-05T15:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sending form with ajax recaptcha</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1220490#M85274</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/595342"&gt;@Bent1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to an older thread, looks like Captcha is not supported on v3 endpoints:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Forms-Api-v3-Captcha-Handling/m-p/323042/highlight/true#M31133" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Forms-Api-v3-Captcha-Handling/m-p/323042/highlight/true#M31133&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 00:47:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1220490#M85274</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-11-06T00:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sending form with ajax recaptcha</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1222376#M85370</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/595342"&gt;@Bent1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey, the captcha is not supported by the V3 endpoint, so you can skip this in the call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 07:42:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1222376#M85370</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-11-11T07:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sending form with ajax recaptcha</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1222489#M85391</link>
      <description>&lt;P&gt;What new information are you providing in this response? This was already said in the accepted solution.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 12:58:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Sending-form-with-ajax-recaptcha/m-p/1222489#M85391</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-11-11T12:58:22Z</dc:date>
    </item>
  </channel>
</rss>

