The Events API lets you manage calendar entries for a schedule. Events inherit default values from their schedule, ensuring consistency across related events. However, you can override each event's default values as needed.
To set up recurring events,
define an event with recurrencePattern - known as the MASTER event. Then,
INSTANCE events that hold details for each occurrence are automatically created
based on this pattern.
With the Events API, you can:
MASTER events.EXCEPTION events by updating an INSTANCE event.For more in-depth event management, see:
It’s important to note the following points before starting to code:
INSTANCE events when you set a recurrenceRule in the MASTER event.MASTER events. For example, if an event recurs on Mondays,
Wednesdays, and Fridays, you need to set up 3 distinct MASTER events.INSTANCE event, Wix Calendars automatically changes its recurrenceType to
EXCEPTION.WORKING_HOURS events aren't returned in Query Events.participants on an event. Use the
Participations API
to do so.NONE: An event that takes place only once. Single-occurrence events
don't include a recurrenceRule.MASTER event: Defines the recurrence pattern for a series of recurring events.INSTANCE event: A specific occurrence within a recurring series. You can't
directly create an event with {"recurrenceType": "INSTANCE"}, instead it's
automatically generated based on the recurrence rule. When you update an
INSTANCE, it automatically changes to an EXCEPTION.EXCEPTION event: A modified instance within a recurring series. For
example, an event with a different time or location. Exceptions are created
automatically when you modify an INSTANCE event.notes.CANCELLED.WORKING_HOURS to a
schedule.
Bookings APIs
also use this field to indicate if the event is an APPOINTMENT, CLASS, or COURSE.