> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# QueryRsvps

# Package: registration

# Namespace: RsvpManagement

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/registration/rsvp-v2/query-rsvps?apiView=SDK.md

## Permission Scopes:
Read Event Tickets and Guest List: SCOPE.DC-EVENTS.READ-GUEST-LIST

## Introduction

Retrieves a list of RSVPs, with the specified paging, filtering, and sorting.

Query RSVPs runs with these defaults, which you can override:
- `createdDate` is sorted in `ASC` order.
- `paging.limit` is `100`.
- `paging.offset` is `0`.

By default, each RSVP includes only basic fields such as `id`, `eventId`, `contactId` and `status`. To read check-in status, pass `fields: ["DETAILS"]`, which requires the `WIX_EVENTS.READ_RSVP_DETAILS` permission. The response then includes:
- `guestList.guests[].checkInDetails.checkedIn` and `checkInDate`: Check-in status of each guest.
- `fullyCheckedIn`: Whether all of the RSVP's guests are checked in. An RSVP with additional guests is `false` until every guest is checked in.
- `checkedInGuestCount`: Number of checked-in guests.

To check whether a specific guest is checked in, call Get RSVP with the RSVP ID and `fields: ["DETAILS"]`, find the guest in `guestList.guests` by `guestId`, and read `checkInDetails.checkedIn`. A contact can have more than one RSVP for an event, so don't identify an RSVP by `eventId` and `contactId` alone. You can filter by `fullyCheckedIn` without requesting `DETAILS`.

To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language.md), [Sorting and Paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md), and [Field Projection](https://dev.wix.com/docs/rest/articles/get-started/field-projection.md).

> **Note:** This method is quite slow. Use the following filter pairs for the most optimal speed:
> - `eventId` and `status`
> - `eventId` and `fullyCheckedIn`
> - `eventId` and `memberId`
> - `eventId` and `contactId`
> - `eventId` and `createdDate`

---

## REST API

### Schema

```
 Method: queryRsvps
 Description: Retrieves a list of RSVPs, with the specified paging, filtering, and sorting.  Query RSVPs runs with these defaults, which you can override: - `createdDate` is sorted in `ASC` order. - `paging.limit` is `100`. - `paging.offset` is `0`.  By default, each RSVP includes only basic fields such as `id`, `eventId`, `contactId` and `status`. To read check-in status, pass `fields: ["DETAILS"]`, which requires the `WIX_EVENTS.READ_RSVP_DETAILS` permission. The response then includes: - `guestList.guests[].checkInDetails.checkedIn` and `checkInDate`: Check-in status of each guest. - `fullyCheckedIn`: Whether all of the RSVP's guests are checked in. An RSVP with additional guests is `false` until every guest is checked in. - `checkedInGuestCount`: Number of checked-in guests.  To check whether a specific guest is checked in, call Get RSVP with the RSVP GUID and `fields: ["DETAILS"]`, find the guest in `guestList.guests` by `guestId`, and read `checkInDetails.checkedIn`. A contact can have more than one RSVP for an event, so don't identify an RSVP by `eventId` and `contactId` alone. You can filter by `fullyCheckedIn` without requesting `DETAILS`.  To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language.md), [Sorting and Paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md), and [Field Projection](https://dev.wix.com/docs/rest/articles/get-started/field-projection.md).  > **Note:** This method is quite slow. Use the following filter pairs for the most optimal speed: > - `eventId` and `status` > - `eventId` and `fullyCheckedIn` > - `eventId` and `memberId` > - `eventId` and `contactId` > - `eventId` and `createdDate`
 URL: https://www.wixapis.com/events/v2/rsvps/query
 Method: POST
 Method parameters:
   param name: fields | type: array<fields> | description: Predefined sets of fields to return.  | validation: maxItems 3
                 - enum:
                 -     DETAILS: Returns `createdDate`, `updatedDate`, `firstName`, `lastName`, `totalGuests`, `guestList` (including each guest's `checkInDetails`), `fullyCheckedIn`, `checkedInGuestCount`, `additionalGuestDetails`, `onlineConferencingLogin`, `anonymized`, `marketingConsent` and `disableNotifications`. Requires the `WIX_EVENTS.READ_RSVP_DETAILS` permission.
                 -     FORM: Returns `form`.
                 -     CONTACT_DETAILS: Returns `email`.
   param name: query | type: CursorQuery    
     - name: cursorPaging | type: CursorPaging | description: Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.  
        - name: limit | type: integer | description: Maximum number of items to return in the results.  | validation: minimum 0, maximum 100, format int32
        - name: cursor | type: string | description: Pointer to the next or previous page in the list of results.  Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request.  | validation: maxLength 16000
        - name: filter | type: object | description: Filter object in the following format: `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }` Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`  
        - name: sort | type: array<Sorting> | description: Sort object in the following format: `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`  | validation: maxItems 5
           - name: fieldName | type: string | description: Name of the field to sort by.  | validation: maxLength 512
           - name: order | type: SortOrder | description: Sort order.  
                 - enum:
                 -     ASC: Sort is in the ascending order.
                 -     DESC: Sort is in the descending order.
 Query fields:
   - field: id | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: eventId | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: memberId | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: contactId | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: status | operators: $eq, $ne, $in, $nin | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
   - field: fullyCheckedIn | operators: $eq, $ne, $in, $nin | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
   - field: updatedDate | operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
   - field: createdDate | operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
 Return type: QueryRsvpsResponse
  - name: rsvps | type: array<Rsvp> | description: Retrieved RSVPs.  
     - name: id | type: string | description: GUID of the RSVP.  | read-only: true | validation: format GUID
     - name: revision | type: string | description: Revision number, which increments by 1 each time the RSVP is updated. To prevent conflicting changes, the existing `revision` must be used when updating the RSVP.  | read-only: true | validation: format int64
     - name: eventId | type: string | description: Event GUID to which the RSVP belongs.  | validation: format GUID, immutable
     - name: createdDate | type: string | description: Date and time the RSVP was created.  | read-only: true | validation: format date-time
     - name: updatedDate | type: string | description: Date and time the RSVP was updated.  | read-only: true | validation: format date-time
     - name: memberId | type: string | description: Site member GUID.  | validation: format GUID, immutable
     - name: contactId | type: string | description: Contact GUID of a guest who filled in the RSVP form. See the Contacts API for more details.  | validation: format GUID
     - name: firstName | type: string | description: First name of a guest who filled in the RSVP form.  | validation: minLength 1, maxLength 50
     - name: lastName | type: string | description: Last name of a guest who filled in the RSVP form.  | validation: minLength 1, maxLength 50
     - name: email | type: string | description: Email of a guest who filled in the RSVP form.  | validation: minLength 4, maxLength 255, format EMAIL
     - name: form | type: FormResponse | description: Event registration form response. Each item in `inputValues` must use a defined input name and follow the applicable mandatory-field and predefined-option rules. Call [Get Event](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/get-event.md) with `fields: ["FORM"]` to inspect the expected input names, mandatory fields, and predefined options.  
        - name: inputValues | type: array<InputValue> | description: Form field inputs.  | validation: maxItems 200
           - name: inputName | type: string | description: Form field input name.  | validation: maxLength 100
           - name: value | type: string | description: Form field value.  | validation: maxLength 5000
           - name: values | type: array<string> | description: Form field values.  | validation: maxItems 100, maxLength 5000
     - name: status | type: RsvpStatus | description: RSVP response status.  
         - enum:
         -     YES: Guest is attending the event.
         -     NO: Guest isn't attending the event.
         -     WAITLIST: Guest is on a waitlist.
     - name: totalGuests | type: integer | description: Total number of guests per 1 RSVP.  | read-only: true | validation: format int32
     - name: guestList | type: GuestList | description: Guest list.  | read-only: true 
        - name: guests | type: array<Guest> | description: List of guests.  | validation: maxItems 11
           - name: index | type: integer | description: Index of each guest in the array.  | validation: format int32
           - name: fullName | type: string | description: Full name.  | validation: maxLength 101
           - name: checkInDetails | type: CheckInDetails | description: Check-in details.  
              - name: checkedIn | type: boolean | description: Whether the guest has checked in.  
              - name: checkInDate | type: string | description: Date and time the guest checked in.  | validation: format date-time
              - name: checkInCanceledDate | type: string | description: Date and time the guest cancelled check-in.  | validation: format date-time
              - name: checkedInBy | type: string | description: Id of the user who last performed check-in  | validation: format GUID
              - name: checkInCanceledBy | type: string | description: Id of the user who last canceled check-in  | validation: format GUID
              - name: checkedInByStaffMember | type: string | description: Id of the Staff Member who last performed check-in  | validation: format GUID
              - name: checkInCanceledByStaffMember | type: string | description: Id of theStaff Member who last canceled check-in  | validation: format GUID
           - name: guestId | type: integer | description: Guest GUID.  | validation: minimum 1, format int32
     - name: language | type: string | description: 2-letter language code in the [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.  | read-only: true | validation: format LANGUAGE
     - name: locale | type: string | description: Locale in the [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) format.  | read-only: true | validation: format LANGUAGE_TAG
     - name: fullyCheckedIn | type: boolean | description: Whether all guests are checked in.  | read-only: true 
     - name: checkedInGuestCount | type: integer | description: Number of checked in guests.  | read-only: true | validation: format int32
     - name: additionalGuestDetails | type: AdditionalGuestDetails | description: Additional guest details.  Available only when the event's form includes a guest control (`GUEST_CONTROL` type). If the event doesn't support additional guests, omit this field.  
        - name: guestCount | type: integer | description: Number of additional guests.  | validation: minimum 0, maximum 10, format int32
        - name: guestNames | type: array<string> | description: Names of additional guests.  | validation: maxItems 10, maxLength 101
     - name: disableNotifications | type: boolean | description: Whether notifications are disabled.  
     - name: onlineConferencingLogin | type: OnlineConferencingLogin | description: Guest login details for accessing the online conference event.  | read-only: true 
        - name: link | type: string | description: Link URL to the online conference.  | read-only: true | validation: format WEB_URL
        - name: password | type: string | description: Password for the online conference.  | read-only: true 
     - name: anonymized | type: boolean | description: Whether an RSVP is anonymized.  | read-only: true 
     - name: marketingConsent | type: boolean | description: Whether a guest agreed to marketing.  
     - name: extendedFields | type: ExtendedFields | description: Custom field data for the RSVP object.  **Note:** You must configure extended fields using schema plugin extensions in your app's dashboard before you can access the extended fields with API calls.  
        - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
  - name: pagingMetadata | type: CursorPagingMetadata | description: Metadata for the paginated results.  
     - name: count | type: integer | description: Number of items returned in the response.  | validation: format int32
     - name: cursors | type: Cursors | description: Cursor strings that point to the next page, previous page, or both.  
        - name: next | type: string | description: Cursor string pointing to the next page in the list of results.  | validation: maxLength 16000
        - name: prev | type: string | description: Cursor pointing to the previous page in the list of results.  | validation: maxLength 16000
     - name: hasNext | type: boolean | description: Whether there are more pages to retrieve following the current page.  + `true`: Another page of results can be retrieved. + `false`: This is the last page.  


```

### Examples

### Query RSVP with the DETAILS and CONTACT_DETAILS fields
```curl
curl -X POST 'https://www.wixapis.com/events/v2/rsvps/query' \
-H 'Authorization: <AUTH TOKEN>' \
-d '{
  "query": {
    "filter": {
      "eventId": "e1beee02-f915-4414-9b25-3082aaa89c19"
    },
    "sort": [
      {
        "order": "DESC",
        "fieldName": "createdDate"
      }
    ],
    "cursorPaging": {
      "limit": 1
    }
  },
  "fields": [
    "DETAILS",
    "CONTACT_DETAILS"
  ]
}'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.events.rsvpV2.queryRsvps(query, options)
 Description: Retrieves a list of RSVPs, with the specified paging, filtering, and sorting.  Query RSVPs runs with these defaults, which you can override: - `createdDate` is sorted in `ASC` order. - `paging.limit` is `100`. - `paging.offset` is `0`.  By default, each RSVP includes only basic fields such as `id`, `eventId`, `contactId` and `status`. To read check-in status, pass `fields: ["DETAILS"]`, which requires the `WIX_EVENTS.READ_RSVP_DETAILS` permission. The response then includes: - `guestList.guests[].checkInDetails.checkedIn` and `checkInDate`: Check-in status of each guest. - `fullyCheckedIn`: Whether all of the RSVP's guests are checked in. An RSVP with additional guests is `false` until every guest is checked in. - `checkedInGuestCount`: Number of checked-in guests.  To check whether a specific guest is checked in, call Get RSVP with the RSVP GUID and `fields: ["DETAILS"]`, find the guest in `guestList.guests` by `guestId`, and read `checkInDetails.checkedIn`. A contact can have more than one RSVP for an event, so don't identify an RSVP by `eventId` and `contactId` alone. You can filter by `fullyCheckedIn` without requesting `DETAILS`.  To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language.md), [Sorting and Paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md), and [Field Projection](https://dev.wix.com/docs/rest/articles/get-started/field-projection.md).  > **Note:** This method is quite slow. Use the following filter pairs for the most optimal speed: > - `eventId` and `status` > - `eventId` and `fullyCheckedIn` > - `eventId` and `memberId` > - `eventId` and `contactId` > - `eventId` and `createdDate`
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  query
 Method parameters: 
   param name: query | type: RsvpQuery   | required: true 
     - name: cursorPaging | type: CursorPaging | description: Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.  
        - name: limit | type: integer | description: Maximum number of items to return in the results.  | validation: minimum 0, maximum 100, format int32
        - name: cursor | type: string | description: Pointer to the next or previous page in the list of results.  Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request.  | validation: maxLength 16000
        - name: filter | type: object | description: Filter object in the following format: `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }` Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`  
        - name: sort | type: array<Sorting> | description: Sort object in the following format: `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`  | validation: maxItems 5
           - name: fieldName | type: string | description: Name of the field to sort by.  | validation: maxLength 512
           - name: order | type: SortOrder | description: Sort order.  
                 - enum:
                 -     ASC: Sort is in the ascending order.
                 -     DESC: Sort is in the descending order.
   param name: options | type: QueryRsvpsOptions  none  
        - name: fields | type: array<RequestedFields> | description: Predefined sets of fields to return.  | validation: maxItems 3
             - enum:
             -     DETAILS: Returns `createdDate`, `updatedDate`, `firstName`, `lastName`, `totalGuests`, `guestList` (including each guest's `checkInDetails`), `fullyCheckedIn`, `checkedInGuestCount`, `additionalGuestDetails`, `onlineConferencingLogin`, `anonymized`, `marketingConsent` and `disableNotifications`. Requires the `WIX_EVENTS.READ_RSVP_DETAILS` permission.
             -     FORM: Returns `form`.
             -     CONTACT_DETAILS: Returns `email`.
 Query fields:
   - field: _id | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: eventId | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: memberId | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: contactId | operators: $eq, $ne, $in, $nin, $exists | sort: none | aggregatable: undefined | searchable: undefined
   - field: status | operators: $eq, $ne, $in, $nin | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
   - field: fullyCheckedIn | operators: $eq, $ne, $in, $nin | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
   - field: _updatedDate | operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
   - field: _createdDate | operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte | sort: ASC, DESC | aggregatable: undefined | searchable: undefined
 Return type: PROMISE<QueryRsvpsResponse>
  - name: rsvps | type: array<Rsvp> | description: Retrieved RSVPs.  
     - name: _id | type: string | description: GUID of the RSVP.  | read-only: true | validation: format GUID
     - name: revision | type: string | description: Revision number, which increments by 1 each time the RSVP is updated. To prevent conflicting changes, the existing `revision` must be used when updating the RSVP.  | read-only: true | validation: format int64
     - name: eventId | type: string | description: Event GUID to which the RSVP belongs.  | validation: format GUID, immutable
     - name: _createdDate | type: Date | description: Date and time the RSVP was created.  | read-only: true 
     - name: _updatedDate | type: Date | description: Date and time the RSVP was updated.  | read-only: true 
     - name: memberId | type: string | description: Site member GUID.  | validation: format GUID, immutable
     - name: contactId | type: string | description: Contact GUID of a guest who filled in the RSVP form. See the Contacts API for more details.  | validation: format GUID
     - name: firstName | type: string | description: First name of a guest who filled in the RSVP form.  | validation: minLength 1, maxLength 50
     - name: lastName | type: string | description: Last name of a guest who filled in the RSVP form.  | validation: minLength 1, maxLength 50
     - name: email | type: string | description: Email of a guest who filled in the RSVP form.  | validation: minLength 4, maxLength 255, format EMAIL
     - name: form | type: FormResponse | description: Event registration form response. Each item in `inputValues` must use a defined input name and follow the applicable mandatory-field and predefined-option rules. Call [Get Event](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/get-event.md) with `fields: ["FORM"]` to inspect the expected input names, mandatory fields, and predefined options.  
        - name: inputValues | type: array<InputValue> | description: Form field inputs.  | validation: maxItems 200
           - name: inputName | type: string | description: Form field input name.  | validation: maxLength 100
           - name: value | type: string | description: Form field value.  | validation: maxLength 5000
           - name: values | type: array<string> | description: Form field values.  | validation: maxItems 100, maxLength 5000
     - name: status | type: RsvpStatus | description: RSVP response status.  
         - enum:
         -     YES: Guest is attending the event.
         -     NO: Guest isn't attending the event.
         -     WAITLIST: Guest is on a waitlist.
     - name: totalGuests | type: integer | description: Total number of guests per 1 RSVP.  | read-only: true | validation: format int32
     - name: guestList | type: GuestList | description: Guest list.  | read-only: true 
        - name: guests | type: array<Guest> | description: List of guests.  | validation: maxItems 11
           - name: index | type: integer | description: Index of each guest in the array.  | validation: format int32
           - name: fullName | type: string | description: Full name.  | validation: maxLength 101
           - name: checkInDetails | type: CheckInDetails | description: Check-in details.  
              - name: checkedIn | type: boolean | description: Whether the guest has checked in.  
              - name: checkInDate | type: Date | description: Date and time the guest checked in.  
              - name: checkInCanceledDate | type: Date | description: Date and time the guest cancelled check-in.  
              - name: checkedInBy | type: string | description: Id of the user who last performed check-in  | validation: format GUID
              - name: checkInCanceledBy | type: string | description: Id of the user who last canceled check-in  | validation: format GUID
              - name: checkedInByStaffMember | type: string | description: Id of the Staff Member who last performed check-in  | validation: format GUID
              - name: checkInCanceledByStaffMember | type: string | description: Id of theStaff Member who last canceled check-in  | validation: format GUID
           - name: guestId | type: integer | description: Guest GUID.  | validation: minimum 1, format int32
     - name: language | type: string | description: 2-letter language code in the [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.  | read-only: true | validation: format LANGUAGE
     - name: locale | type: string | description: Locale in the [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) format.  | read-only: true | validation: format LANGUAGE_TAG
     - name: fullyCheckedIn | type: boolean | description: Whether all guests are checked in.  | read-only: true 
     - name: checkedInGuestCount | type: integer | description: Number of checked in guests.  | read-only: true | validation: format int32
     - name: additionalGuestDetails | type: AdditionalGuestDetails | description: Additional guest details.  Available only when the event's form includes a guest control (`GUEST_CONTROL` type). If the event doesn't support additional guests, omit this field.  
        - name: guestCount | type: integer | description: Number of additional guests.  | validation: minimum 0, maximum 10, format int32
        - name: guestNames | type: array<string> | description: Names of additional guests.  | validation: maxItems 10, maxLength 101
     - name: disableNotifications | type: boolean | description: Whether notifications are disabled.  
     - name: onlineConferencingLogin | type: OnlineConferencingLogin | description: Guest login details for accessing the online conference event.  | read-only: true 
        - name: link | type: string | description: Link URL to the online conference.  | read-only: true | validation: format WEB_URL
        - name: password | type: string | description: Password for the online conference.  | read-only: true 
     - name: anonymized | type: boolean | description: Whether an RSVP is anonymized.  | read-only: true 
     - name: marketingConsent | type: boolean | description: Whether a guest agreed to marketing.  
     - name: extendedFields | type: ExtendedFields | description: Custom field data for the RSVP object.  **Note:** You must configure extended fields using schema plugin extensions in your app's dashboard before you can access the extended fields with API calls.  
        - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).  | validation: format map
  - name: pagingMetadata | type: CursorPagingMetadata | description: Metadata for the paginated results.  
     - name: count | type: integer | description: Number of items returned in the response.  | validation: format int32
     - name: cursors | type: Cursors | description: Cursor strings that point to the next page, previous page, or both.  
        - name: next | type: string | description: Cursor string pointing to the next page in the list of results.  | validation: maxLength 16000
        - name: prev | type: string | description: Cursor pointing to the previous page in the list of results.  | validation: maxLength 16000
     - name: hasNext | type: boolean | description: Whether there are more pages to retrieve following the current page.  + `true`: Another page of results can be retrieved. + `false`: This is the last page.  


```

### Examples

### queryRsvps
```javascript
import { rsvpV2 } from '@wix/events';

async function queryRsvps(query,options) {
  const response = await rsvpV2.queryRsvps(query,options);
};
```

### queryRsvps (with elevated permissions)
```javascript
import { rsvpV2 } from '@wix/events';
import { auth } from '@wix/essentials';

async function myQueryRsvpsMethod(query,options) {
  const elevatedQueryRsvps = auth.elevate(rsvpV2.queryRsvps);
  const response = await elevatedQueryRsvps(query,options);
}
```

### queryRsvps (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { rsvpV2 } from '@wix/events';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { rsvpV2 },
  // Include the auth strategy and host as relevant
});


async function queryRsvps(query,options) {
  const response = await myWixClient.rsvpV2.queryRsvps(query,options);
};
```

---