getRsvpData( )

Deprecated: Gets information about the event's RSVP form and status.

Deprecation note: The getRsvpData function of the RsvpForm object is being deprecated. Use the formData property of the Form object instead.

The getRsvpData() function returns a Promise that resolves to an RsvpData object containing all the information you need to create a custom RSVP form for the specified event.

This information includes:

  • The event's registration status, such as whether registration is open, closed, or guests will be placed on a waitlist.
  • Which statuses guests can RSVP with, such as yes, no, or to be added to the waitlist.
  • Information about the RSVP form's fields, such as their names, descriptive labels, and whether they are required.

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

Method Declaration
This method does not take any parameters
Return Type:Promise<RsvpData>
Was this helpful?