APIs & Integrations

Nuno_Reis
Member

Consent to communicate through the API

Hello,

I have a form that our company uses through the API and now we are addind a "Consent to communicate checkbox", however there is no ID in it for us to fill.

Is this not supposed to be filled through the API?

Thanks in advance

0 Upvotes
3 Replies 3
Not applicable

Consent to communicate through the API

This functionality will be made available via the Forms API in the coming weeks, so stay tuned to our product readiness page

Hi @Derek_Gervais. Is this feature available now? I'm not sure where to find the details on the page you linked.

0 Upvotes
Not applicable

Consent to communicate through the API

I found it here: https://developers.hubspot.com/docs/methods/forms/submit_form_ajax

Under 'Legal Consent Options'. Should've dug a bit deeper. :slight_smile: thanks

Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Consent to communicate through the API

Hi @Nuno_Reis,

Are you referring to the Notice and Consent (GDPR) form field type? These form field types aren't yet accessible via the Forms API. For the time being, you can add a custom checkbox property that allows a contact to opt in, and use that information to update the contact in HubSpot. This functionality will be made available via the Forms API in the coming weeks, so stay tuned to our product readiness page:

0 Upvotes