Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.contacts.v4.attachment
.
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.attachment_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": "efb2e820-0b15-4457-b038-a652a8ba041f",
"entityFqdn": "wix.contacts.v4.attachment",
"slug": "created",
"entityId": "b783822b-3bf5-47a6-b0d9-3c73efdade84",
"createdEvent": {
"entityAsJson": {
"id": "b783822b-3bf5-47a6-b0d9-3c73efdade84",
"image": {
"id": "e6711764cfb4439abbf11f01c161e34f",
"url": "https://wixmp-8be454c954980f083caba37c.wixmp.com/sites/2ca83e30-1dd3-414e-a4ac-166f2dcf97b8/contact/fa15331a-8990-4fa4-ad7d-3c3393a9a298/b783822b-3bf5-47a6-b0d9-3c73efdade84.jpeg?token=eyJhbGciOiJIUzI1NiJ9.eyJzdFiMDc3MISI6IjUzOTY2M6IldoYXRzQXBwIElt&filename=picture.jpeg",
"height": 0,
"width": 0,
"urlExpirationDate": "2024-12-29T21:23:04.842113760Z"
},
"previewImage": {
"id": "524b2ed50f474da3ab017856b016d536",
"url": "https://wixmp-8be454c954980f083caba37c.wixmp.com/sites/2ca83e30-1dd3-414e-a4ac-166f2dcf97b8/contact/fa15331a-8990-4fa4-ad7d-3c3393a9a298/b783822b-3bf5-47a6-b0d9-3c73efdade84.preview.jpeg?token=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOmY1ODg2NzI1MzJ&filename=picture.jpeg",
"height": 768,
"width": 1024,
"urlExpirationDate": "2024-12-29T21:23:04.843469862Z"
},
"fileName": "picture.jpeg",
"mimeType": "image/jpeg",
"attachmentType": "IMAGE"
}
},
"eventTime": "2024-12-15T21:23:05.845283290Z",
"triggeredByAnonymizeRequest": false
}