---
title: "List appointment enquiries"
method: GET
path: "/shop/reports/appointment-enquiries"
tags: ["AppointmentEnquiries"]
---

# List appointment enquiries

`GET /shop/reports/appointment-enquiries`

Use this endpoint to retrieve a list of `AppointmentEnquiry` resources associated with a `Site`.

## Query parameters

- `site_id` string, uuid
- `page` integer
- `date_from` string, date
- `date_to` string, date
- `status` 'received' | 'confirmed' | 'cancelled'
- `can_confirm` string, boolean
- `received_from` string, date
- `received_to` string, date
- `appointment_type_id` string, object-id
- `sort` string
- `sort_order` 'asc' | 'desc'

## Response `200`

The list of `AppointmentEnquiry` resources was successfully retrieved.

- ListAppointmentEnquiriesResponse
  - `data` AppointmentEnquiry[], required
    - `id` string, object-id, required — The ID of the appointment enquiry.
    - `appointment_type_id` string, object-id, required — The ID of the appointment the enquiry is for.
    - `appointment_type_name` string, required — The name of the appointment the enquiry is for.
    - `time_from` string, date-time, required — The earliest date and time the appointment could start.
    - `time_to` string, date-time, required — The latest date and time the appointment could start.
    - `status` 'received' | 'confirmed' | 'cancelled', required — The status of the enquiry
    - `can_confirm` boolean, required — Whether there is availability for the enquiry to be confirmed as an appointment.
    - `cancellation_reason` string, nullable — A reason code for the cancellation, if any.
    - `order` SchemasOrderSummary, required
      - `id` string, object-id, required — The ID of the order.
      - `order_ref` string, required — The reference of the order.
      - `full_name` string — The full name of the customer who placed the order.
    - `last_checked_at` string, date-time, nullable, required — The date and time availability was last checked for this enquiry.
    - `received_at` string, date-time, required — The date and time the enquiry was received.
  - `meta` PaginationMeta, required — Counts and positional information for the current page of a list response. Use `current_page` and `last_page` to drive pagination UI, `total` for result counts, and `per_page` to confirm the page size the server actually applied (which may differ from the requested value when capped).
    - `from` integer, required — The item number from which this results set starts from
    - `to` integer, required — The item number from which this results set ends at
    - `total` integer, required — The total number of results
    - `current_page` integer, required — The current page number
    - `last_page` integer, required — The page number of the last result set
    - `per_page` integer, required — The number of results per page
    - `path` string, required — The path of this api request
  - `links` PaginationLinks, required — Hypermedia navigation links for paging through a list response. Each property is a fully-qualified URL that preserves the original query string (filters, sort, page size) and only swaps the `page` parameter. `next` and `prev` are `null` at the ends of the result set; `first` and `last` are always present.
    - `first` string, required — The url of the first page for the paginated results set
    - `next` string, nullable, required — The url of the next page for the paginated results set
    - `prev` string, nullable, required — The url of the previous page for the paginated results set
    - `last` string, required — The url of the last page for the paginated results set

## Other responses

- `401` — The user is unauthenticated

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
