onEventCreated( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Note: This method registers a callback function as an event handler. Subscribe your app to the relevant event via the Webhooks page in the Wix Dev Center to enable it. For more information, see Handle Events With Webhooks.

Triggered when an event is created, including when an existing MASTER event is split.

Not triggered when INSTANCE events are created. You can use the Events View API to get notified about INSTANCE events.

Permissions
Manage Bookings - all permissions
Read Bookings - all read permissions
Manage Bookings
Read Bookings - Including Participants
Read bookings calendar - including participants
Manage Calendars
Read Calendar - Including PI
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
handlerfunction

handler(event: EventCreatedEnvelope): void | Promise<void>

Did this help?