POST

Create Rsvp


Deprecated

This method has been replaced with Create Rsvp, and will be removed on June 30, 2025.

Creates an RSVP, associated with a contact of the site.

Endpoint
POST
https://www.wixapis.com/events/v1/rsvp

Body Params
eventIdstringformat GUID

Event ID.


formForm

RSVP form response.


statusstring

RSVP status.


memberIdstringformat GUID

Member ID of the RSVP.


optionsOptions

Create RSVP options. WIX_EVENTS.MANAGE_RSVP permission is required.


marketingConsentboolean

Whether marketing consent was given

Response Object
rsvpRsvp

Created RSVP.


calendarLinksCalendarLinks

"Add to calendar" links.

This example show the minimum required data for RSVP. Applicable if only no additional form fields was added to registration form.

Request
cURL
curl -X POST 'https://www.wixapis.com/events/v1/events/fd56076c-38f4-4705-b9eb-ec322b85c745/rsvp' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH TOKEN>' \ -d @- << EOF { "form": { "inputValues": [ { "inputName": "firstName", "value": "John" }, { "inputName": "lastName", "value": "Doe" }, { "inputName": "email", "value": "john.doe@example.com" } ] }, "status": "YES" } EOF
Response
JSON
{ "rsvp": { "id": "7c9dbf44-359c-47c7-a3e4-02638ab851c4", "eventId": "fd56076c-38f4-4705-b9eb-ec322b85c745", "contactId": "46df035c-a6af-4947-8675-4306255ba88f", "memberId": "", "created": "2020-05-18T15:07:54.461Z", "modified": "2020-05-18T15:07:54.461Z", "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "rsvpForm": { "inputValues": [ { "inputName": "firstName", "value": "John" }, { "inputName": "lastName", "value": "Doe" }, { "inputName": "email", "value": "john.doe@example.com" } ] }, "status": "YES", "totalGuests": 1, "guests": [ { "index": 0, "fullName": "John Doe", "id": 1 } ], "anonymized": false }, "calendarLinks": { "google": "http://calendar.google.com/calendar/render?action=TEMPLATE&text=evn&dates=20200601T160000Z/20200601T200000Z&location=", "ics": "https://www.wixevents.com/media/calendar/fd56076c-38f4-4705-b9eb-ec322b85c745" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?