consent_records[] array. This can happen via the Consent API, a landing page opt-in, or a bulk import with consent data.
Payload
The contact this consent record belongs to.
Unique ID of the newly created consent record.
EMAIL, RCS, or SMS.MESSAGE (action-based) or NEWSLETTER (subscription).GRANTED, PENDING (DOI awaiting confirmation), or REVOKED.How the consent was captured:
api, landing_page, csv_import, or crm_sync.Whether Double Opt-In was required for this record.
DOI_SEND (confirmation sent) or DOI_ACCEPTED (confirmed). null if DOI was not enforced.