# Appointments

> Schedule and manage appointments with the Jump EHR Appointments API. Create, update, cancel, and list bookings.

Source: https://docs.usejump.co.uk/api-reference/appointments

The Appointments API allows you to manage patient appointments in Jump EHR. Appointments connect patients with clinicians at specific times and locations.

  <Callout type="info">
    Status changes must use the cancel action endpoint. You cannot change status via PATCH.
  </Callout>
## List appointments

`GET /appointments`

API-key scope: `read_appointments`

Returns a paginated list of appointments, sorted by start_time descending.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | Maximum number of records to return (1–100, default 20) |
| `offset` | query | integer | no | Number of records to skip (default 0) |
| `patient_id` | query | string (uuid) | no |  |
| `clinician_id` | query | string (uuid) | no | Maps to clinician_profile_id |
| `status` | query | string | no | One of: `pending_approval`, `confirmed`, `pending`, `scheduled`, `in_progress`, `completed`, `no_show`, `rejected`, `cancelled`. |
| `status_in` | query | string | no | Comma-separated list of statuses |
| `date_gte` | query | string (date-time) | no | Filter start_time >= value |
| `date_lte` | query | string (date-time) | no | Filter start_time <= value |
| `appointment_type_id` | query | string | no |  |
| `location_id` | query | string (uuid) | no |  |

### Responses

- `200` Paginated list of appointments
- `401` Missing or invalid API key
- `500` Unexpected server error

## Create an appointment

`POST /appointments`

API-key scope: `write_appointments`

Creates a new appointment. Supports idempotency via the `Idempotency-Key` header.
If the same key is sent with the same request body, the original response is returned.
If the same key is sent with a different body, a 409 CONFLICT is returned.

**Only real slots, by default (breaking change, 2026-10-10).** Without
`hold_id`, `start_time` must be a slot `GET /availability` offers right
now for the `appointment_type_id` you send (required) and, if you send
them, the `clinician_profile_id` and `location_id`, checked exactly as
`POST /availability/verify` checks it. Any other time returns
`409 SLOT_UNAVAILABLE` with `details.reason` `NOT_A_SLOT` and
`details.next_available` (the next slot after it, or null). The slot
sets `end_time` (you may omit it; a different value is replaced and
`meta.warnings` carries `END_TIME_ADJUSTED`) and, if you did not name
one, the clinician.

**Custom times are explicit.** Send `booking_mode: "custom"` to book a
time outside the slot list, as this endpoint used to allow for everyone.
The appointment records it (`booking_mode` on the appointment).

**Times must carry a zone.** A `start_time` or `end_time` with no `Z` and
no UTC offset returns `422 VALIDATION_ERROR` with `details.reason`
`TIMEZONE_REQUIRED`. Send `2026-10-12T18:45:00+01:00` or
`2026-10-12T17:45:00Z`.

**Overlaps are refused**, in both modes. A time that overlaps one of the
clinician's live appointments, or a slot another patient is holding while
they book, returns `409 SLOT_UNAVAILABLE` with `details.reason`
`OVERLAPS_APPOINTMENT` or `OVERLAPS_HOLD`. Back-to-back is fine, and a
group appointment template (more than one participant) may share the time.

**Booking a held slot.** Send `hold_id` (from `POST /holds`) and `patient_id`
instead of `start_time` / `end_time`. The time, clinician, appointment
template, location and delivery mode all come from the hold; `title`
defaults to the template name. If you also send any of those slot fields
they must match the hold. The hold is consumed atomically with the
booking. A hold that has expired returns `410 HOLD_EXPIRED`, one that was
released `410 HOLD_RELEASED`, one already used `409 HOLD_ALREADY_USED`, and
a hold whose slot has since been taken by a diary booking
`409 SLOT_UNAVAILABLE`. A `hold_id` that does not name a hold created
through the API in your organisation is a `422` naming `hold_id`, like
any other reference in the body.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string (uuid) | no | Optional UUID for request deduplication. Same key + same body returns the cached response. Same key + different body returns 409 CONFLICT. Keys are scoped to your organisation and endpoint, and expire after 24 hours. |

### Responses

- `201` Appointment created
- `401` Missing or invalid API key
- `409` Idempotency key already used with a different request body (`CONFLICT`), the hold was already used (`HOLD_ALREADY_USED`), the held slot has been taken (`SLOT_UNAVAILABLE`), or the requested time overlaps the clinician's live appointment or another patient's hold (`SLOT_UNAVAILABLE`)
- `410` The hold expired (`HOLD_EXPIRED`) or was released (`HOLD_RELEASED`) before booking
- `422` Request body failed validation
- `500` Unexpected server error

## Get an appointment

`GET /appointments/{id}`

API-key scope: `read_appointments`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Responses

- `200` Appointment found
- `401` Missing or invalid API key
- `404` Resource not found (or belongs to a different organisation)
- `500` Unexpected server error

## Update an appointment

`PATCH /appointments/{id}`

API-key scope: `write_appointments`

Partially updates an appointment. The `status` field is excluded from the
update whitelist — status changes must use action endpoints (e.g. `POST /appointments/{id}/cancel`).

**Rescheduling is held to real slots (since 2026-10-10).** A PATCH that
moves the appointment - a new `start_time` or `end_time`, or a different
`clinician_profile_id` - is checked exactly as `POST /appointments` checks
a booking. Unless the appointment was booked with `booking_mode: "custom"`
or this request sends `booking_mode: "custom"`, the new `start_time` must be
a slot `GET /availability` offers for the appointment's template, clinician
and location (the appointment's own current time does not count against
it). Any other time returns `409 SLOT_UNAVAILABLE` with `details.reason`
`NOT_A_SLOT` and `details.next_available`. The slot sets `end_time`; a
different value is replaced and `meta.warnings` carries `END_TIME_ADJUSTED`.

A custom move that sends only `start_time` keeps the appointment's length.
Overlaps are refused in both modes (`OVERLAPS_APPOINTMENT`,
`OVERLAPS_HOLD`), group templates excepted. Times must carry a UTC offset
or `Z` (`422 TIMEZONE_REQUIRED`). Resending the appointment's current
times unchanged, or a PATCH that does not touch them, is not checked.

**A reschedule has the same effects as one made in Jump (since
2026-10-17).** A PATCH that changes the time, clinician, appointment
type, location, `is_remote` or `remote_channel` of a `confirmed` or
`scheduled` appointment sends the patient the practice's rescheduled
message for that type, re-queues the type's reminders and follow-ups for
the new time, and records the change on the appointment's audit trail and
the patient's record. Send `notify_patient: false` to keep it silent.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_mode` | string | no | How a move chooses its time. Omitted: `custom` if the appointment was booked as custom, otherwise `slot`. Sending it records the new mode on the appointment. One of: `slot`, `custom`. |
| `notify_patient` | boolean | no | Tell the patient about a reschedule, as an in-app reschedule does: the practice's rescheduled message for the appointment type, and the type's reminders and follow-ups re-queued for the new time. Defaults to true. Send false if your own system tells the patient: the change is still recorded and any reminders already queued still move to the new time. Not stored on the appointment, so send it on every call. Applies to a `confirmed` or `scheduled` appointment. |
| `title` | string | no |  |
| `description` | string | no |  |
| `start_time` | string (date-time) | no | Must include a UTC offset or Z. In slot mode, must be a slot GET /availability offers. |
| `end_time` | string (date-time) | no | Slot mode: optional; the slot's end is used. Custom mode: optional; omitted keeps the appointment's length. |
| `patient_id` | string (uuid) | no |  |
| `clinician_profile_id` | string (uuid) | no |  |
| `appointment_type_id` | string | no |  |
| `location_id` | string (uuid) | no |  |
| `is_remote` | boolean | no |  |
| `remote_channel` | string | no | One of: `video`, `phone`. |
| `duration_minutes` | integer | no |  |
| `episode_id` | string (uuid) | no |  |

### Responses

- `200` Appointment updated
- `401` Missing or invalid API key
- `404` Resource not found (or belongs to a different organisation)
- `422` Request body failed validation
- `500` Unexpected server error

## Cancel an appointment

`POST /appointments/{id}/cancel`

API-key scope: `write_appointments`

Cancels an appointment. Only appointments with status `pending_approval`, `confirmed`,
`pending`, or `scheduled` can be cancelled. Returns `INVALID_STATE_TRANSITION` for
appointments that are already completed, cancelled, rejected, or no-showed.

Writes an entry to the appointment audit log.

**A cancellation has the same effects as one made in Jump (since
2026-10-17).** The patient is sent the practice's cancellation message for
the appointment type, the appointment's queued reminders and follow-ups
are cancelled, and the cancellation is recorded on the patient's record.
No refund is taken: refund through Jump if one is due. Send
`notify_patient: false` to cancel without messaging the patient.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cancellation_reason` | string | no | Optional reason for cancellation |
| `notify_patient` | boolean | no | Send the patient the practice's cancellation message. Defaults to true. Send false if your own system tells the patient. Queued reminders and follow-ups are cancelled either way. Not stored on the appointment, so send it on every call. Anything other than a boolean returns `422 VALIDATION_ERROR`. |

### Responses

- `200` Appointment cancelled
- `401` Missing or invalid API key
- `404` Resource not found (or belongs to a different organisation)
- `422` State transition not permitted
- `500` Unexpected server error
