> 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

# CheckInRsvpGuests

# Package: registration

# Namespace: RsvpManagement

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/registration/rsvp-v2/check-in-rsvp-guests.md

## Permission Scopes:
Manage Guest List: SCOPE.DC-EVENTS.MANAGE-GUEST-LIST

## Introduction

Checks in RSVP guests.

You can check in up to 11 guests per request.

`guestIds` are the integer `guestList.guests[].guestId` values of the RSVP, for example `[1, 2]`, not GUIDs. To get them, call Get RSVP or Query RSVPs with `fields: ["DETAILS"]`. Pass `fields: ["DETAILS"]` in this request to get the updated check-in status in the response.

---

## REST API

### Schema

```
 Method: checkInRsvpGuests
 Description: Checks in RSVP guests.  You can check in up to 11 guests per request.  `guestIds` are the integer `guestList.guests[].guestId` values of the RSVP, for example `[1, 2]`, not GUIDs. To get them, call Get RSVP or Query RSVPs with `fields: ["DETAILS"]`. Pass `fields: ["DETAILS"]` in this request to get the updated check-in status in the response.
 URL: https://www.wixapis.com/events/v2/rsvps/{rsvpId}/check-in
 Method: POST
 Method parameters:
   param name: checkInDate | type: checkInDate | description: Optional check-in date. If omitted, runtime timestamp is used.  | validation: format date-time
   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: guestIds | type: array<guestIds> | description: IDs of guests to check in: the integer `guestList.guests[].guestId` values of the RSVP.  | validation: minimum 1, minItems 1, maxItems 11
 Return type: CheckInRsvpGuestsResponse
  - name: rsvp | type: Rsvp | description: Updated RSVP.  
     - 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

 Possible Errors:
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: INVALID_CHECK_IN_TIME | Description: Custom check-in date is outside the allowed window.
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: GUEST_NOT_FOUND | Description: Couldn't find the guest.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: GUEST_ALREADY_CHECKED_IN | Description: Guest was already checked in.


```

### Examples

### Check in guests
```curl
curl -X POST 'https://www.wixapis.com/events/v2/rsvps/8c30fd39-c927-49c5-95d4-dc75c991681d/check-in' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH TOKEN>' \
-d '{
  "guestIds": [1]
}'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.events.rsvpV2.checkInRsvpGuests(rsvpId, options)
 Description: Checks in RSVP guests.  You can check in up to 11 guests per request.  `guestIds` are the integer `guestList.guests[].guestId` values of the RSVP, for example `[1, 2]`, not GUIDs. To get them, call Get RSVP or Query RSVPs with `fields: ["DETAILS"]`. Pass `fields: ["DETAILS"]` in this request to get the updated check-in status in the response.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  rsvpId
 Method parameters: 
   param name: rsvpId | type: string | description: GUID of the RSVP to check-in. | required: true | validation: format GUID
   param name: options | type: CheckInRsvpGuestsOptions  none  
        - name: guestIds | type: array<integer> | description: IDs of guests to check in: the integer `guestList.guests[].guestId` values of the RSVP.  | validation: minimum 1, minItems 1, maxItems 11
        - 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`.
        - name: checkInDate | type: Date | description: Optional check-in date. If omitted, runtime timestamp is used.  
 Return type: PROMISE<CheckInRsvpGuestsResponse>
  - name: rsvp | type: Rsvp | description: Updated RSVP.  
     - 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

 Possible Errors:
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: INVALID_CHECK_IN_TIME | Description: Custom check-in date is outside the allowed window.
   HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: GUEST_NOT_FOUND | Description: Couldn't find the guest.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: GUEST_ALREADY_CHECKED_IN | Description: Guest was already checked in.


```

### Examples

### Check in guests
```javascript
import { rsvpV2 } from "@wix/events";

async function checkInRsvpGuests() {
  const response = await rsvpV2.checkInRsvpGuests({
    rsvpId: "8c30fd39-c927-49c5-95d4-dc75c991681d",
    guestIds: [1],
  });
  return response;
}

```

### checkInRsvpGuests (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 checkInRsvpGuests(rsvpId,options) {
  const response = await myWixClient.rsvpV2.checkInRsvpGuests(rsvpId,options);
};
```

---