API Reference

GP Practices

Manage the organisation's GP practice directory with the Jump EHR GP Practices API. List, create, and update practices and resolve one to a UUID.

The GP Practices API manages the organisation's directory of GP practices (surgeries). Use it to resolve a practice to its UUID — which you then pass as gp_practice_id when registering a patient's GP.

GP practices are org-scoped: each organisation maintains its own directory. This is not a shared national dataset.

GET/gp-practicesScoperead_gp_practices

List GP practices

Returns a paginated list of the organisation's GP practices. Filter by name (case-insensitive partial match) or ods_code (exact) to resolve a practice to its UUID.

Query

limitinteger

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

20
offsetinteger

Number of records to skip (default 0)

0
namestring

Case-insensitive partial match on the practice name

ods_codestring

Exact match on the practice ODS code

is_activeboolean
No description yet.

Responses

200

Paginated list of GP practices

401

Missing or invalid API key

500

Unexpected server error

POST/gp-practicesScopewrite_gp_practices

Create a GP practice

Creates a GP practice for the authenticated organisation. The organization_id is set from the API key and source is always recorded as api — neither can be overridden in the request body.

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.
ods_codestring

NHS Organisation Data Service code

emailemail
No description yet.
phonestring
No description yet.
address_jsonobject

Structured address (freeform JSON object)

is_activeboolean
true

Responses

201

GP practice created

401

Missing or invalid API key

409

Idempotency key reused with a different request body

422

Request body failed validation

500

Unexpected server error

GET/gp-practices/{id}Scoperead_gp_practices

Retrieve a GP practice

Path

iduuidrequired
No description yet.

Responses

200

GP practice detail

401

Missing or invalid API key

404

Resource not found (or belongs to a different organisation)

PATCH/gp-practices/{id}Scopewrite_gp_practices

Update a GP practice

Partially updates a GP practice. Only supplied fields are changed.

Path

iduuidrequired
No description yet.

Request body

namestring
No description yet.
ods_codestring
No description yet.
emailemail
No description yet.
phonestring
No description yet.
address_jsonobject
No description yet.
is_activeboolean
No description yet.

Responses

200

GP practice 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

Was this page helpful?