Triggered when a campaign is created.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.email_marketing.v1.campaign
.
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.email_marketing.v1.campaign_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
}
}
}
{
"entityId": "38d837a5-8303-413c-8ac0-75d735a4bdb0",
"actionEvent": {
"body": {
"campaignId": "c9b491f8-bad0-4d0d-8a1c-c90055d31553",
"title": "Email subject",
"firstImageUrl": "//static.wixstatic.com/media/eceb8e_e1f32b0d497447a8898e7abcf01d7d87~mv2_d_5600_3733_s_4_2.jpg",
"editorType": "WEB",
"status": "ACTIVE",
"visibilityStatus": "PUBLISHED",
"distributionStatus": "DISTRIBUTED",
"publishingData": {
"landingPageUrl": "https://www.example.com/so/SHORTCODE",
"statistics": {
"landingPage": {},
"emailCampaign": {
"delivered": 2,
"opened": 2,
"clicked": 2
},
"total": {
"mailsSent": 2,
"opened": 10,
"clicked": 8
}
},
"datePublished": "2020-02-14T14:28:54Z"
},
"dateCreated": "2020-02-13T11:18:30Z",
"dateUpdated": "2020-02-14T14:28:19.680596102Z"
}
},
"slug": "created",
"id": "aacdffe0-8e14-4d1b-8060-8d0bf8248d36",
"entityFqdn": "wix.email_marketing.v1.campaign",
"eventTime": "2022-09-22T12:58:37.407664Z",
"triggeredByAnonymizeRequest": false
}