# List Bookable Slots

Retrieve available bookable slots for the practice group. Filter by location, practitioner, appointment type, and date range.
**Typical flow:** List Appointment Types → List Slots (filtered) → Create Appointment → Book Appointment.
Results are paginated. Use `start_date` and `end_date` query parameters to narrow the date window.

Endpoint: GET /v1/slots
Version: 1.0.0
Security: apiKeyAuth, practiceGroupId

## Security:

  - `apiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `practiceGroupId` (unknown)
    apiKey in header x-practice-group-id

## Query parameters:

  - `location_id` (any)
    Filter slots by location. Pass a single ID or an array of IDs.

  - `practitioner_id` (any)
    Filter slots by practitioner. Pass a single ID or an array of IDs.

  - `start_date` (string)
    Only return slots on or after this date (ISO 8601 format).

  - `end_date` (string)
    Only return slots on or before this date (ISO 8601 format).

  - `appointment_type_id` (any)
    Filter slots by appointment type. Pass a single ID or an array of IDs.

## Response 200:

  - `200` (unknown)
    Ok

## Response 200 fields (application/json):

  - `data` (array, required)

  - `data.id` (string, required)

  - `data.practitioner_id` (string, required)

  - `data.appointment_type_id` (string, required)

  - `data.location_id` (string, required)

  - `data.start_time` (string, required)

  - `data.finish_time` (string, required)

  - `count` (number, required)

## Response 400:

  - `400` (unknown)
    Validation error

## Response 400 fields (application/json):

  - `error` (boolean, required)
    Example: true

  - `statusCode` (number, required)
    Example: 400

  - `message` (array, required)

  - `message.code` (string, required)
    Example: invalid_type

  - `message.expected` (string, required)
    Example: string

  - `message.path` (array, required)
    Example: ["patient_id"]

  - `message.message` (string, required)
    Example: Required

## Response 401:

  - `401` (unknown)
    Unauthorised

## Response 404:

  - `404` (unknown)
    Not found

## Response 429:

  - `429` (unknown)
    Too Many Requests

## Response 500:

  - `500` (unknown)
    Unknown error

