Holds
Reserve a bookable slot while your patient finishes booking, then book it with the Jump EHR Appointments API.
A hold reserves one slot from the Availability API for a few minutes, so nobody else can book it while your patient enters their details or pays. When they are done, book it with POST /holds/{id}/confirm, or with POST /appointments and the hold's id as hold_id. The two do the same thing.
Holds are the same reservations Jump's own online booking uses: a held slot disappears from GET /availability and from the practice's online booking until the hold is used, released or expires.
The booking flow
GET /availabilityto list slots.POST /holdsnaming the slot, either asappointment_type_id,clinician_id,dateandstart_time(HH:MM, the slot's local time), or by echoing the slot'sappointment_template_id,clinician_profile_idandstart_timeexactly as availability returned them.- Create or update the patient with
POST /patientsorPATCH /patients/{id}. To record their NHS GP, send agp_registrationblock, naming the practice bygp_practice_ods_code(see Patients). POST /holds/{id}/confirmwithpatient_id(orPOST /appointmentswithhold_idandpatient_id). The time, clinician, template and location come from the hold.
If the patient abandons the flow, DELETE /holds/{id} frees the slot straight away.
Holds last 15 minutes by default. Set hold_minutes between 5 and 35 when you need longer (for example while a payment page is open). A hold cannot be extended; if it lapses, hold the slot again.
Errors to handle
| Code | Status | Meaning | What to do |
|---|---|---|---|
SLOT_UNAVAILABLE | 409 | The slot was booked or held by someone else, or the diary changed | Query GET /availability again and offer another slot |
HOLD_EXPIRED | 410 | The hold ran out before booking | Hold the slot again (it may have gone) |
HOLD_RELEASED | 410 | The hold was released | Hold the slot again |
HOLD_ALREADY_USED | 409 | The hold already became an appointment | Look up the appointment; do not book twice |
VALIDATION_ERROR (TIMEZONE_REQUIRED) | 422 | start_time had no Z and no UTC offset | Send the slot's start_time exactly as GET /availability returned it |
GET /holds/{id} returns expired and released holds with that status rather than a 404, and DELETE /holds/{id} on a hold that is already inactive succeeds without changing it.
Holds use the write_appointments scope to create and release, and read_appointments to read.
/holdsHold a slotwrite_appointmentsGET/holds/{id}Get a holdread_appointmentsDELETE/holds/{id}Release a holdwrite_appointmentsPOST/holds/{id}/confirmConfirm a holdwrite_appointments/holdsScopewrite_appointmentsHold a slot
Reserves a slot returned by GET /availability so nobody else can take it
while your patient finishes your flow (details, payment). Book it with
POST /holds/{id}/confirm, or POST /appointments with hold_id.
How this operation behaves
- Name the slot either way:
appointment_type_id,clinician_id,date(YYYY-MM-DD) andstart_time(HH:MM, the slot's local time), orappointment_template_id,clinician_profile_idandstart_timeexactly asGET /availabilityreturned it.
- The slot must still be on offer; if it has been booked or held since,
the response is
409 SLOT_UNAVAILABLE. - A held slot is withdrawn from
GET /availability(and from Jump's own online booking) until the hold is used, released or expires. - Holds last
hold_minutes(default 15, 5-35) and then expire on their own. There is no renewal; hold again if one lapses. patient_idis optional here. If you send it, the patient's eligibility for member-only appointment types is checked now; otherwise it is checked when you book.- The returned
start_time/end_timeare UTC instants: the time the appointment will be booked at.
Requires the write_appointments scope. Supports Idempotency-Key.
Headers
Idempotency-KeyuuidOptional 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.
Request body
start_timestringrequiredWith date: the slot's local start time, HH:MM. Without date: the slot's start as an instant with a UTC offset or Z, e.g. exactly as GET /availability returned it (2026-10-05T09:00:00+01:00, or the same instant as 2026-10-05T08:00:00Z). Since 2026-10-10 it is read as an instant; before, only its date and clock digits were read, so a Z value held the slot an hour early in summer. A value with no offset is 422 TIMEZONE_REQUIRED.
appointment_type_idstringThe appointment template. Same as appointment_template_id.
appointment_template_idstringThe appointment template. Same as appointment_type_id.
clinician_iduuidThe clinician profile. Same as clinician_profile_id.
clinician_profile_iduuidThe clinician profile. Same as clinician_id.
datedateThe slot's date. When sent, start_time is the slot's local time as HH:MM.
location_iduuidNarrows the match when the clinician works at more than one location.
is_remotebooleanHold the remote (true) or in-person (false) slot. Omit to accept whichever /availability offered.
remote_channelstringpatient_iduuidOptional. When sent, the hold is tied to this patient (booking it for anyone else is refused) and member-only eligibility is checked now.
hold_minutesintegerHow long the hold lasts before it expires on its own.
Responses
Slot held
Missing or invalid API key
The slot is no longer available to hold (booked, held by someone else, or blocked)
Request body failed validation
Unexpected server error
/holds/{id}Scoperead_appointmentsGet a hold
Returns a hold created through the API, with its current status:
active, expired, released, or confirmed (then appointment_id
names the appointment it became). An expired or released hold is still
returned (with that status) rather than a 404. Requires
read_appointments.
Path
iduuidrequiredResponses
Hold found
Missing or invalid API key
Resource not found (or belongs to a different organisation)
/holds/{id}Scopewrite_appointmentsRelease a hold
Releases the slot straight away instead of waiting for the hold to
expire. Idempotent: an already released or expired hold is returned
unchanged. A hold already used to book an appointment returns
409 HOLD_ALREADY_USED; cancel the appointment instead. Requires
write_appointments.
Path
iduuidrequiredResponses
Hold released (or already inactive)
Missing or invalid API key
Resource not found (or belongs to a different organisation)
The hold has already been converted into an appointment
/holds/{id}/confirmScopewrite_appointmentsConfirm a hold
Books the held slot and returns the appointment. The time, clinician,
appointment template and location come from the hold. This is the same
operation as POST /appointments with hold_id, with the same checks
and error codes.
How this operation behaves
patient_idis required. If the hold was taken for a patient, it must be the same one.notesis stored as the appointment'sdescription.attendee_phoneis accepted but not stored; record the phone number on the patient instead.- An expired hold returns
410 HOLD_EXPIRED, a released one410 HOLD_RELEASED, one already used409 HOLD_ALREADY_USED, and a hold whose slot a diary booking has since taken409 SLOT_UNAVAILABLE.
Requires write_appointments. Supports Idempotency-Key.
Path
iduuidrequiredHeaders
Idempotency-KeyuuidOptional 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.
Request body
patient_iduuidrequiredattendee_namestringattendee_emailemailattendee_phonestringAccepted for compatibility but not stored. Put the phone number on the patient.
notesstringStored as the appointment's description.
titlestringDefaults to the appointment template's name.
statusstringDefaults to confirmed.
notify_patientbooleanMessage the patient about this booking, as an in-app booking does: the booking confirmation, plus the appointment type's reminders and follow-ups. Defaults to true. Send false to send nothing at all. Applies to a confirmed or scheduled booking with a patient and an appointment type.
send_confirmationbooleanSend the immediate booking confirmation. Defaults to true. Send false if your own system already confirms the booking: reminders and follow-ups are still queued. Has no effect when notify_patient is false.
Responses
Appointment created from the hold
Missing or invalid API key
Resource not found (or belongs to a different organisation)
The hold was already used (HOLD_ALREADY_USED) or its slot has been taken (SLOT_UNAVAILABLE)
The hold expired (HOLD_EXPIRED) or was released (HOLD_RELEASED)
Request body failed validation
Unexpected server error
