Triggered when a data item is inserted.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.data.v2.data_item
.
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.data.v2.data_item_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": "7d4d5a64-6faa-4ff0-bbce-1b7fd64777f4",
"entityFqdn": "wix.data.v2.data_item",
"slug": "created",
"entityId": "de17fb92-4448-4d90-bc0b-8b99dcadfa86",
"createdEvent": {
"entity": {
"id": "de17fb92-4448-4d90-bc0b-8b99dcadfa86",
"dataCollectionId": "cities",
"data": {
"_id": "de17fb92-4448-4d90-bc0b-8b99dcadfa86",
"_owner": "ea435a36-6ab0-401f-82c2-22395fa6b573",
"_createdDate": {
"$date": "2024-05-20T12:13:49.189Z"
},
"_updatedDate": {
"$date": "2024-05-20T12:13:49.189Z"
},
"city": "Los Angeles",
"state": "California",
"year": 2022.0,
"population": 3800000.0
}
}
},
"eventTime": "2024-05-20T12:13:51.868311441Z",
"triggeredByAnonymizeRequest": false
}