API Reference

Appointment Templates

Manage appointment type templates with the Jump EHR API. Define bookable service types with pricing and duration.

Appointment templates define the types of appointments your organisation offers — their names, durations, pricing, and configuration. Templates are configuration objects that change rarely.

Templates that have appointments booked against them cannot be modified. Create a new version instead.

GET/appointment-templatesScoperead_appointment_templates

List appointment templates

Returns a paginated list of appointment type configurations.

Query

limitinteger

Maximum number of records to return (1–100, default 20)

20
offsetinteger

Number of records to skip (default 0)

0
statusstring
draftactivearchived
status_instring
No description yet.
is_activeboolean
No description yet.
created_at_gtedate-time
No description yet.
created_at_ltedate-time
No description yet.

Responses

200

Paginated list of templates

401

Missing or invalid API key

500

Unexpected server error

POST/appointment-templatesScopewrite_appointment_templates

Create an appointment template

Creates a new appointment template. version is automatically set to 1 and status to "draft" regardless of request body values — these are not user-settable on creation.

Headers

Idempotency-Keyuuid

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.

Request body

namestringrequired
No description yet.
descriptionstring
No description yet.
durationinteger

Duration in minutes (default 30)

buffer_beforeinteger
No description yet.
buffer_afterinteger
No description yet.
colorstring
No description yet.
pricenumber
No description yet.
currencystring
No description yet.
pricing_typestring
freestripexero
is_activeboolean
No description yet.
available_remoteboolean
No description yet.
available_in_personboolean
No description yet.
available_remote_videoboolean
No description yet.
available_remote_phoneboolean
No description yet.
requires_approvalboolean
No description yet.
require_online_paymentboolean
No description yet.

Responses

201

Template created

401

Missing or invalid API key

409

Idempotency key reused with different request body

422

Request body failed validation

500

Unexpected server error

GET/appointment-templates/{id}Scoperead_appointment_templates

Get an appointment template

Path

idstringrequired

Text ID (e.g. apt_type_xxx)

Responses

200

Template found

401

Missing or invalid API key

404

Resource not found (or belongs to a different organisation)

500

Unexpected server error

PATCH/appointment-templates/{id}Scopewrite_appointment_templates

Update an appointment template

Partially updates an appointment template. Before applying any update, the API checks whether this template has any appointments against it. If so, returns INVALID_STATE_TRANSITION.

version and status are excluded from the update whitelist — lifecycle changes will use dedicated action endpoints.

Path

idstringrequired

Text ID (e.g. apt_type_xxx)

Request body

namestring
No description yet.
descriptionstring
No description yet.
durationinteger
No description yet.
buffer_beforeinteger
No description yet.
buffer_afterinteger
No description yet.
colorstring
No description yet.
pricenumber
No description yet.
currencystring
No description yet.
pricing_typestring
freestripexero
is_activeboolean
No description yet.
available_remoteboolean
No description yet.
available_in_personboolean
No description yet.
available_remote_videoboolean
No description yet.
available_remote_phoneboolean
No description yet.
requires_approvalboolean
No description yet.
require_online_paymentboolean
No description yet.

Responses

200

Template updated

401

Missing or invalid API key

404

Resource not found (or belongs to a different organisation)

422

Template is in use or validation failed

500

Unexpected server error

Was this page helpful?