This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a media item in a specified gallery is created.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.pro_gallery.gallery_v2
.
Event name. Expected gallery_item_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.pro_gallery.gallery_v2_gallery_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": "5844370e-50a1-4e71-8763-e27778ced7b3",
"entityFqdn": "wix.pro_gallery.v2.gallery",
"slug": "gallery_item_created",
"entityId": "4937b26c-b9d3-4c43-b772-f1f3ba840b3d",
"actionEvent": {
"body": {
"item": {
"id": "a045b201-ee7d-447c-b0c3-746cba83253c",
"sortOrder": 1644317968.985,
"title": "Some Title",
"description": "Some Description",
"type": "IMAGE",
"image": {
"type": "WIX_MEDIA",
"imageInfo": {
"id": "11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg",
"url": "https://static.wixstatic.com/media/11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg",
"height": 4298,
"width": 6446
},
"focalPoint": {
"x": 0.5,
"y": 0.5
}
}
}
}
},
"eventTime": "2021-12-16T12:28:44.905701Z",
"triggeredByAnonymizeRequest": false
}