---
title: "List appointments"
method: GET
path: "/dealerships/{dealershipId}/appointments"
tags: ["appointments"]
---

# List appointments

`GET /dealerships/{dealershipId}/appointments`

## Request

- Base URL: `https://api.fullpath.com/consent-management`
- URL: `https://api.fullpath.com/consent-management/dealerships/{dealershipId}/appointments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fullpath/apis/fullpath-api-v1-openapi-3-0/docs/dealerships/:dealershipId/appointments/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a paginated list of appointments with optional filtering

## Path parameters

- `dealershipId` integer, required

## Query parameters

- `assigned_to` integer
- `lead_id` integer
- `is_confirmed` boolean
- `is_shown` boolean
- `start_date` string, date
- `end_date` string, date
- `page` integer
- `per_page` integer
- `sort` string

## Response `200`

A paginated list of appointments

- AppointmentsResponse: Response containing multiple appointments with pagination info
  - `data` Appointment[], required
    - `id` integer, required: Unique appointment identifier
    - `lead_id` integer, nullable: Identifier of the lead associated with this appointment
    - `lead_name` string, nullable: Name of the lead
    - `scheduled_at` string, date-time, required: ISO 8601 scheduled date and time
    - `is_confirmed` boolean, nullable: Whether the appointment is confirmed
    - `is_shown` boolean, nullable: Whether the appointment was shown
    - `department` 'new' | 'used' | 'service', nullable: Department for the appointment
  - `pagination` Pagination, required: Pagination metadata
    - `page` integer, required: Current page number (1-based)
    - `per_page` integer, required: Number of items per page
    - `total` integer, required: Total number of items
    - `total_pages` integer, required: Total number of pages

## Other responses

- `204`: No appointments found
- `400`: Invalid query parameters
- `401`: Unauthorized
- `500`: Server error

---

[API](https://skmtc.dev/fullpath/apis/fullpath-api-v1-openapi-3-0.md) - [All operations](https://skmtc.dev/fullpath/apis/fullpath-api-v1-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/fullpath/apis/fullpath-api-v1-openapi-3-0/revisions/4b73e1835a7e?raw)
