<?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: Get the consent fields from getform or similar in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Get-the-consent-fields-from-getform-or-similar/m-p/228280#M7176</link>
    <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/dewolfe001"&gt;@dewolfe001&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;After testing, I've confirmed that none of the &lt;A href="https://developers.hubspot.com/docs/methods/forms/forms_overview"&gt;Forms API&lt;/A&gt; endpoints return consent fields at this time.&lt;/P&gt;
&lt;P&gt;That said, you can set whatever &lt;CODE&gt;legalConsentOptions&lt;/CODE&gt; values you wish through &lt;A href="https://developers.hubspot.com/docs/methods/forms/submit_form_ajax"&gt;this endpoint&lt;/A&gt; (i.e. you aren't limited by the fields which appear in the form's UI), however it's not currently possible to tell via the API exactly &lt;EM&gt;which&lt;/EM&gt; consent options have been selected in the UI.&lt;/P&gt;
&lt;P&gt;Frankly, I'm surprised consent fields aren't included in Forms API responses since GDPR went into effect. I highly recommend posting your request on the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas"&gt;HubSpot Community Ideas Forum&lt;/A&gt; so that it gains attention. If you do post, please share the link below so that I may upvote it and share it with a few colleagues. I will also pass this use case along internally.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 14:36:07 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2018-10-08T14:36:07Z</dc:date>
    <item>
      <title>Get the consent fields from getform or similar</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-the-consent-fields-from-getform-or-similar/m-p/228279#M7175</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I am looking at the API docs:&lt;BR /&gt;
this talks about submitting GDPR-relevant data (eg. consentToProcess) -  developers.hubspot com  -&amp;gt; docs/methods/forms/submit_form_ajax&lt;BR /&gt;
This talks about getting the form fields (eg. developers.hubspot com -&amp;gt; docs/methods/forms/v2/get_form)&lt;/P&gt;
&lt;P&gt;Where can I do a search via the API to get the consent fields for a given form? I am working on the WordPress-Hubspot tie-in. It reads in form fields to pair fields in WordPress with fields in Hubspot. I cannot find where / how I find the consent field as defined in a given form.&lt;/P&gt;
&lt;P&gt;What API call would expose the consent fields? I want to use that call and address this Gravity Forms integration issue - &lt;A href="https://wordpress.org/support/topic/consent-fields-not-mapping/" rel="nofollow noopener"&gt;https://wordpress.org/support/topic/consent-fields-not-mapping/&lt;/A&gt; That plugin uses get_form() to map the available fields for a form. It then, uses /submissions/v3/integration/submit/:portalId/:formGuid to submit data from WordPress to Hubspot. It can send consent data, but I cannot find where I can get the map of available data.&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Shawn&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:47:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-the-consent-fields-from-getform-or-similar/m-p/228279#M7175</guid>
      <dc:creator>dewolfe001</dc:creator>
      <dc:date>2018-10-05T16:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get the consent fields from getform or similar</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-the-consent-fields-from-getform-or-similar/m-p/228280#M7176</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/dewolfe001"&gt;@dewolfe001&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;After testing, I've confirmed that none of the &lt;A href="https://developers.hubspot.com/docs/methods/forms/forms_overview"&gt;Forms API&lt;/A&gt; endpoints return consent fields at this time.&lt;/P&gt;
&lt;P&gt;That said, you can set whatever &lt;CODE&gt;legalConsentOptions&lt;/CODE&gt; values you wish through &lt;A href="https://developers.hubspot.com/docs/methods/forms/submit_form_ajax"&gt;this endpoint&lt;/A&gt; (i.e. you aren't limited by the fields which appear in the form's UI), however it's not currently possible to tell via the API exactly &lt;EM&gt;which&lt;/EM&gt; consent options have been selected in the UI.&lt;/P&gt;
&lt;P&gt;Frankly, I'm surprised consent fields aren't included in Forms API responses since GDPR went into effect. I highly recommend posting your request on the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas"&gt;HubSpot Community Ideas Forum&lt;/A&gt; so that it gains attention. If you do post, please share the link below so that I may upvote it and share it with a few colleagues. I will also pass this use case along internally.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 14:36:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-the-consent-fields-from-getform-or-similar/m-p/228280#M7176</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-10-08T14:36:07Z</dc:date>
    </item>
  </channel>
</rss>

