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:

import wixEventsFrontend from 'wix-events-frontend';
javascript | Copy Code

Note: To work with the Wix Events API, you need to publish your site.

Was this helpful?