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.
Event ID.
RSVP form response.
RSVP status.
Member ID of the RSVP.
Create RSVP options. WIX_EVENTS.MANAGE_RSVP permission is required.
Whether marketing consent was given
Created RSVP.
"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.
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
{
"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"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.