Fired when a new consent record is added to a contact’s consent_records[] array. This can happen via the Consent API, a landing page opt-in, or a bulk import with consent data.

Payload

string
The contact this consent record belongs to.
Unique ID of the newly created consent record.
string
EMAIL, RCS, or SMS.
string
MESSAGE (action-based) or NEWSLETTER (subscription).
string
GRANTED, PENDING (DOI awaiting confirmation), or REVOKED.
string
How the consent was captured: api, landing_page, csv_import, or crm_sync.
boolean
Whether Double Opt-In was required for this record.
string | null
DOI_SEND (confirmation sent) or DOI_ACCEPTED (confirmed). null if DOI was not enforced.