# Availability

> Query real-time booking availability with the Jump EHR Availability API. List slots, find next available, and verify before booking.

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

The Availability API provides real-time booking slot queries. It accounts for clinician sessions, existing bookings, buffer times, holds, blocks, minimum notice periods, and maximum advance booking rules.

  * Availability is computed in real-time — it is not a stored resource. Slots can be taken between query and booking, so always verify before confirming.
  * The `next_available` suggestion is best-effort — verify it again before booking.
## List available slots

`GET /availability`

API-key scope: `read_availability`

Returns available booking slots for a date range and appointment template.
Accounts for sessions, conflicts, buffers, holds, blocks, minimum notice, and max advance booking.
Maximum date range is 14 days.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `date_from` | query | string (date) | yes | Start date (YYYY-MM-DD) |
| `date_to` | query | string (date) | yes | End date (YYYY-MM-DD), max 14 days from date_from |
| `appointment_template_id` | query | string | yes |  |
| `clinician_profile_id` | query | string (uuid) | no |  |
| `location_id` | query | string (uuid) | no |  |

### Responses

- `200` Available slots
- `422` Request body failed validation

## Find next available slot

`GET /availability/next`

API-key scope: `read_availability`

Lightweight endpoint to find the next available slot within 30 days.
Returns null data if no availability is found.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `appointment_template_id` | query | string | yes |  |
| `clinician_profile_id` | query | string (uuid) | no |  |
| `location_id` | query | string (uuid) | no |  |

### Responses

- `200` Next available slot (or null if none within 30 days)
- `422` Request body failed validation

## Verify slot availability

`POST /availability/verify`

API-key scope: `read_availability`

Verify that a specific slot is still available before payment or booking.
Returns `available: true` if the slot is open, or `available: false` with
a suggested `next_available` alternative if it has been taken.

### Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `appointment_template_id` | string | yes |  |
| `start_time` | string (date-time) | yes | Must include a UTC offset or Z. Until 2026-10-10 a value without one was read as UK time; it is now 422 TIMEZONE_REQUIRED. |
| `end_time` | string (date-time) | yes |  |
| `clinician_profile_id` | string (uuid) | no |  |
| `location_id` | string (uuid) | no |  |

### Responses

- `200` Availability check result
- `422` Request body failed validation
