I am looking at the API docs:
this talks about submitting GDPR-relevant data (eg. consentToProcess) - developers.hubspot com -> docs/methods/forms/submit_form_ajax
This talks about getting the form fields (eg. developers.hubspot com -> docs/methods/forms/v2/get_form)
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.
What API call would expose the consent fields? I want to use that call and address this Gravity Forms integration issue - https://wordpress.org/support/topic/consent-fields-not-mapping/ 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.
Thanks in advance,