Triggered when a contact is created.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.contacts.v4.contact
.
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.contacts.v4.contact_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": "52269077-05f2-4b59-ba4f-36ef8c4c1e11",
"entityFqdn": "wix.contacts.v4.contact",
"slug": "created",
"entityId": "4b0133d5-7903-4411-bcc0-1817d1394028",
"createdEvent": {
"entity": {
"id": "4b0133d5-7903-4411-bcc0-1817d1394028",
"source": {
"sourceType": "WIX_APP",
"appId": "74bff718-5977-47f2-9e5f-a9fd0047fd1f"
},
"createdDate": "2020-10-18T13:40:57.803Z",
"updatedDate": "2020-10-18T13:40:57.870Z",
"lastActivity": {
"activityDate": "2020-10-18T13:40:57.803Z",
"activityType": "CONTACT_CREATED"
},
"primaryInfo": { "email": "johndoe@example.com" },
"info": {
"name": { "first": "John", "last": "Doe" },
"emails": {
"items": [
{
"id": "95606596-4006-4945-811d-61ba1fca629d",
"email": "johndoe@example.com",
"primary": true
}
]
},
"company": "Example",
"jobTitle": "manager",
"extendedFields": {
"items": {
"emailSubscriptions.effectiveEmail": "johndoe@example.com",
"emailSubscriptions.subscriptionStatus": "NOT_SET",
"contacts.displayByFirstName": "John Doe",
"contacts.displayByLastName": "Doe John"
}
}
},
"primaryEmail": {
"email": "johndoe@example.com",
"subscriptionStatus": "NOT_SET",
"deliverabilityStatus": "NOT_SET"
}
}
},
"eventTime": "2020-10-18T13:40:58.304800Z",
"triggeredByAnonymizeRequest": false
}