Before working with the Events API, you need to install the Wix Events app and create at least one event.
You can use the Wix Event API to create a custom RSVP form and to offer tickets for your events.
To use the Wix Events API, import wixEventsFrontend
from the wix-events-frontend
module:
1
Note: To work with the Wix Events API, you need to publish your site.