---
title: "List all slots"
method: GET
path: "/healthcare/{connection_id}/slot"
tags: ["healthcare", "slot"]
---

# List all slots

`GET /healthcare/{connection_id}/slot`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/healthcare/{connection_id}/slot`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `practitioner_id` string
- `location_id` string
- `start_gte` string
- `end_lt` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- HealthcareSlot[]
  - `id` string: Unique identifier for the slot
  - `created_at` string, date-time: When the slot was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the slot was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `practitioner_id` string: The practitioner whose schedule the slot belongs to
  - `location_id` string: Where the slot takes place
  - `status` 'FREE' | 'BUSY' | 'BUSY_UNAVAILABLE' | 'BUSY_TENTATIVE' | 'ENTERED_IN_ERROR' | 'OTHER': Availability of the slot
  - `start_at` string, date-time: When the slot starts (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `end_at` string, date-time: When the slot ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `service_types` HealthcareCode[]: Codings for the services that can be booked in the slot
    - `system` string: The code system URI (e.g. http://loinc.org, http://snomed.info/sct)
    - `code` string: The code within the system
    - `display` string: Human-readable display text for the code
  - `is_overbooked` boolean: Whether the slot has been overbooked
  - `notes` string: Free-text notes about the slot
  - `metadata` HealthcareMetadata[]: Custom field values
    - `id` string: Identifier of the custom field
    - `value` unknown
    - `namespace` string: The scope or origin of the custom field
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` unknown
    - `slug` string: The custom field key
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
