This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an event is added to, removed from, or updated within the current event view. This includes cases when:
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.calendar.v3.events_view
.
Event name. Expected projection_updated
.
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.calendar.v3.events_view_projection_updated",
"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": "79cef953-0a0f-4ac9-89ea-22067c0f2e09",
"entityFqdn": "wix.calendar.v3.events_view",
"slug": "projection_updated",
"entityId": "63dd0f90-21ac-44ad-baa8-bfac964bee0f",
"actionEvent": {
"body": {
"eventAddedOrUpdated": {
"event": {
"id": "10LYaoIDRso8lqq8LOipCexT6zGC75sye8coEGvmZm4pJw3YyZJTWYfK0uvlC1fpTlDtRIsmhSmo1Y9eKla5VRhwx60ClPGXOl7keejlEvWxlX40v3qEyIq",
"scheduleId": "a96c3c31-c9fc-495d-b55b-40c694fe196c",
"externalScheduleId": "0cc230a0-9158-4c5e-a5da-9161bed0f6b1",
"scheduleName": "Pump It Up",
"type": "CLASS",
"status": "CONFIRMED",
"title": "Pump It Up",
"start": {
"localDate": "2024-10-16T13:00:00",
"timeZone": "Europe/Dublin",
"utcDate": "2024-10-16T12:00:00Z"
},
"end": {
"localDate": "2024-10-16T14:00:00",
"timeZone": "Europe/Dublin",
"utcDate": "2024-10-16T13:00:00Z"
},
"timeZone": "Europe/Dublin",
"recurrenceType": "EXCEPTION",
"recurrenceRule": {
"frequency": "WEEKLY",
"interval": 1,
"days": ["WEDNESDAY"]
},
"recurringEventId": "a96c3c31c9fc495db55b40c694fe196cb180373a5eb045a391e669fd19263666",
"transparency": "OPAQUE",
"location": {
"type": "BUSINESS"
},
"resources": [
{
"id": "76570209-101f-409b-af97-b445bdb63125",
"name": "Staff Member #1",
"type": "1cd44cf8-756f-41c3-bd90-3e2ffcaf1155",
"scheduleId": "e73bf671-bb59-4488-8d1f-afcf0ebe8d27",
"transparency": "OPAQUE",
"permissionRole": "WRITER"
}
],
"totalCapacity": 40,
"remainingCapacity": 40,
"inheritedFields": [
"TITLE",
"CAPACITY",
"LOCATION",
"TIME_ZONE",
"CONFERENCING_DETAILS",
"RESOURCES",
"PARTICIPANTS"
],
"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97",
"permissions": [],
"revision": "5",
"createdDate": "2024-10-14T09:51:36.176Z",
"updatedDate": "2024-10-14T09:51:36.191Z"
},
"previousEvent": {
"id": "10LYaoIDRso8lqq8LOipCexT6zGC75sye8coEGvmZm4pJw3YyZJTWYfK0uvlC1fpTlDtRIsmhSmo1Y9eKla5VRhwx60ClPGXOl7keejlEvWxlX40v3qEyIq",
"scheduleId": "a96c3c31-c9fc-495d-b55b-40c694fe196c",
"externalScheduleId": "0cc230a0-9158-4c5e-a5da-9161bed0f6b1",
"scheduleName": "Pump It Up",
"type": "CLASS",
"status": "CONFIRMED",
"title": "Pump It Up",
"start": {
"localDate": "2024-10-16T12:00:00",
"timeZone": "Europe/Dublin",
"utcDate": "2024-10-16T11:00:00Z"
},
"end": {
"localDate": "2024-10-16T13:00:00",
"timeZone": "Europe/Dublin",
"utcDate": "2024-10-16T12:00:00Z"
},
"timeZone": "Europe/Dublin",
"recurrenceType": "INSTANCE",
"recurrenceRule": {
"frequency": "WEEKLY",
"interval": 1,
"days": ["WEDNESDAY"]
},
"recurringEventId": "a96c3c31c9fc495db55b40c694fe196cb180373a5eb045a391e669fd19263666",
"transparency": "OPAQUE",
"location": {
"type": "BUSINESS"
},
"resources": [
{
"id": "76570209-101f-409b-af97-b445bdb63125",
"name": "Staff Member #1",
"type": "1cd44cf8-756f-41c3-bd90-3e2ffcaf1155",
"scheduleId": "e73bf671-bb59-4488-8d1f-afcf0ebe8d27",
"transparency": "OPAQUE",
"permissionRole": "WRITER"
}
],
"totalCapacity": 40,
"remainingCapacity": 40,
"inheritedFields": [
"TITLE",
"CAPACITY",
"LOCATION",
"TIME_ZONE",
"CONFERENCING_DETAILS",
"RESOURCES",
"PARTICIPANTS",
"TIME"
],
"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97",
"permissions": [],
"revision": "3",
"createdDate": "2024-10-06T17:16:36.482Z",
"updatedDate": "2024-10-07T09:29:06.681Z"
}
},
"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97"
}
},
"eventTime": "2024-10-14T09:51:36.596163807Z",
"triggeredByAnonymizeRequest": false
}