Triggered when a marketing consent is created.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.marketing.marketing_consent.v1.marketing_consent
.
Event name. Expected created
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.marketing.marketing_consent.v1.marketing_consent_created",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "816e0c72-afe4-41a2-9b88-75888559a904",
"entityFqdn": "wix.marketing.marketing_consent.v1.marketing_consent",
"slug": "created",
"entityId": "0f32c763-e797-42cc-ba93-b9032bc99464",
"createdEvent": {
"entity": {
"id": "aa8a62f5-9a79-4b21-b1a4-5c835c08d937",
"revision": "1",
"details": {
"type": "EMAIL",
"email": "test@test.com"
},
"state": "CONFIRMED",
"lastConfirmationActivity": {
"source": "IN_PERSON",
"description": "Person filed a printed document",
"updatedDate": "2022-10-02T08:43:25.765Z",
"optInLevel": "UNKNOWN_OPT_IN_LEVEL"
},
"extendedFields": {},
"created_date": "2022-11-16T14:07:50.150Z",
"updated_date": "2022-11-16T14:07:50.150Z"
}
},
"eventTime": "2023-05-18T19:18:39.199886Z",
"triggeredByAnonymizeRequest": false
}