> 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

# List

# Package: bookings

# Namespace: WaitingList

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/waitlist/list-waitlisted-entities.md

## Introduction

Returns a list of waitlisted entries.
Each WaitingListEntry returned holds the current Waitlist registrations, configuration and suggesting status.
> **Permissions**
> This endpoint requires the Read Bookings - Public Data permissions scope

---

## REST API

### Schema

```
 Method: list
 Description: Returns a list of waitlisted entries. Each WaitingListEntry returned holds the current Waitlist registrations, configuration and suggesting status. > **Permissions** > This endpoint requires the Read Bookings - Public Data permissions scope
 URL: null
 Method: GET
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  waitingResources
 Method parameters: 
   query param name: waitingResources | type: array<waitingResources> | description: List of sessions (waitingResources) with active waitlists. | required: true 
 Return type: ListWaitingListResponse
  - name: list | type: array<WaitingListEntry> | description:   
     - name: waitingResource | type: string | description: The waitlisted session GUID.  
     - name: registrations | type: array<Registration> | description: List of registrants to the waitlist.  
        - name: id | type: string | description: Registration GUID  
        - name: bookingId | type: string | description: Registration's associated booking  
        - name: waitingResource | type: string | description: Resource to be waitlisted for. Currently only supports session GUID.  
        - name: availableActions | type: AvailableActions | description: Currently available actions for this registration.  
           - name: leave | type: boolean | description: Whether the registrant can leave the waitlist.  
           - name: enroll | type: boolean | description: Whether the registrant can book from the waitlist.  
        - name: status | type: Status | description: Registration status WAITING - Registrant is on the waitlist. Waiting to be suggested a spot. SUGGESTING - Registrant is currently being suggested an opened spot. DECLINED - Registration has been declined. ENROLLED - Registrant has been enrolled to a suggested spot.  
             - enum: UNDEFINED, WAITING, SUGGESTING, DECLINED, ENROLLED
     - name: numberOfRegistrations | type: integer | description:   
     - name: capacity | type: integer | description: Waitlisted session's capacity. Defined as part of the service's booking policy.  | validation: format int32
     - name: timeWindowMinutes | type: integer | description: Waitlisted session's "suggesting" time window. Defined as part of the service's booking policy.  | validation: format int32
     - name: status | type: Status | description: The Waitlist's current status: GUIDLE - Waiting for a cancellation that will free up a spot in the session. SUGGESTING - Currently suggesting a free spot to a registrant in the waitlist. The service will keep suggesting until the end of the list is reached, or until all free spots are filled. OPEN_TO_ALL - Once we got to the end of the list - booking is opened for the session, and any registrant on the list can book.  
         - enum: UNDEFINED, IDLE, SUGGESTING, OPEN_TO_ALL


```

### Examples

### List waitlist
Returns the wait list of the waiting resource.

```curl
curl -X GET \
    'https://www.wixapis.com/bookings/v1/waitlist/list?waitingResources=193ZPR9ppP9emJUCLevcLf6orynNEIDt5nc0520xjGQILnPPaF5s62yK3BWz7ExgIRM1VRioAcbF7zzwvoBTEIScx8fykHVtU2r5GoJrd7PuRidnB3zvYGeB6vu46SF7RN6M20Jg3OP1PZhRjhbotC5iz5mBXEncK2sHCaVgGczVpDEUts19ULscMtZ8dzmp6Hd6caRs6g5UcGtKSnvH5KJPYdojijsgantqsSTmGCItRoTcYi0dBhYzvxxB6Sv51iSs7tupi36hkw6Eau5FhC7P8jBQfZ0eFi7tZIeGUyoV39wexfMbu0kLn5nRTUVx5r0eSzENSJcV7F' \
  -H 'Authorization: <AUTH>'
```

---