# API value for 'Legal Basis for Processing Contact's Data' property

**URL:** <https://community.hubspot.com/t/api-value-for-legal-basis-for-processing-contacts-data-property/74040>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [January 30, 2023, 4:49pm UTC](https://community.hubspot.com/t/api-value-for-legal-basis-for-processing-contacts-data-property/74040 "2023-01-30T16:49:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JRooney1987](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JRooney1987](https://community.hubspot.com/u/JRooney1987)\
**Post date:** [January 30, 2023, 4:49pm UTC](https://community.hubspot.com/t/api-value-for-legal-basis-for-processing-contacts-data-property/74040/1 "2023-01-30T16:49:52Z")

</div>

My client are developing a third-party consent platform, but we can’t figure out how the API sends data relating to the ‘Legal Basis for Processing Contact’s Data’ property.

Hopefully the question makes sense, but I’m not a developer..

Any help with pointing us in the right direction would be much appreciated!

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [January 31, 2023, 12:07pm UTC](https://community.hubspot.com/t/api-value-for-legal-basis-for-processing-contacts-data-property/74040/2 "2023-01-31T12:07:23Z")

</div>

Hi @JRooney1987

I think you are looking for the API documentation relating to subscription preferences: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences)

Lawful basis is stored per contact, per email subscription type in a property called legalBasis.

Hope this helps?

---

<div class="post-metadata">

**Author:** ![JRooney1987](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JRooney1987](https://community.hubspot.com/u/JRooney1987)\
**Post date:** [February 3, 2023, 12:33pm UTC](https://community.hubspot.com/t/api-value-for-legal-basis-for-processing-contacts-data-property/74040/3 "2023-02-03T12:33:52Z")

</div>

Thanks Phil - that’s helpful!
