---
title: "Get Waitlist"
method: GET
path: "/classes/{class_id}/waitlist"
tags: ["Class"]
---

# Get Waitlist

`GET /classes/{class_id}/waitlist`

Get waitlist of a given Class.

## Path parameters

- `class_id` integer, required

## Query parameters

- `page` integer
- `page_size` integer

## Headers

- `x-api-key` string, required

## Response `200`

Waitlist data

- ResponseWaitlist — Class waitlist
  - `waitlist` WaitlistResponse[] — List of waitlist reservation data
    - `reservation_id` integer — Reservation&#39;s Id
    - `client_id` string — ClientId
    - `client` string — Client&#39;s Name
    - `lead_id` integer — Lead&#39;s Id
    - `lead` string — Lead&#39;s Name
  - `pagination` Pagination — Pagination for API method responses.
    - `page` integer, required — Current page number.
    - `page_size` integer, required — Number of records per page.
    - `has_more` boolean, required — True if more records exist beyond the current page.
  - `wodify_validation_result` string — The purpose of this attribute is to save any UserException message, that is, and user friendly message that should be shown to the end user. All methods should have, just like service actions: - an UserException with Abort Transaction = Yes, and a Log Error = No - an AllExceptions with Abort Transaction = Yes, and a Log Error = Yes With this, any known issue that we don&#39;t consider an error log, like a business validation, we raise it to be catch in the UserException and we don&#39;t log it. Then, in the OnResponse of the full REST service, the Build_Response_JSON action will take care on the output json format. An Exception will have the default formatted error message. If its an AllException, it will log the error so that we can fix it. If its a UserException, it will deliver as an error but it won&#39;t log it as an error. A success output will not have this attribute, the Build_Response_JSON will remove it from the final output.

---

[API](https://skmtc.net/wodify/apis/leads.md) · [All operations](https://skmtc.net/wodify/apis/leads/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wodify/leads/revisions/974500ca0714/schema)
