Skip to main content
GET/transactional-api/patient/:patientId/upcoming-appointments

List Patient Upcoming Appointments

Returns the patient's upcoming appointments at this practice, from the start of today, earliest first. Cancelled, rescheduled and completed appointments are left out.

Authorization: Bearer token (JWT). See Authentication.

Request​

curl -L -X GET 'https://{tenantId}.api.england.medicus.health/transactional-api/patient/:patientId/upcoming-appointments' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'

Path and query parameters

NameInTypeRequiredDescription
patientIdpathstring<uuid>YesMedicus patient identifier.

Responses​

200 Upcoming appointments.
[
{
"appointmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"startTime": "2026-01-15T09:00:00Z",
"endTime": "2026-01-15T09:20:00Z",
"siteId": "a1b2c3d4-0000-4000-8000-000000000001",
"siteName": "Main Surgery",
"practitionerId": "7d1e2f3a-0000-4000-8000-000000000002",
"practitionerName": "Dr Sarah Chen",
"appointmentServiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"appointmentServiceName": "GP Appointment",
"appointmentTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"appointmentTypeName": "Routine",
"deliveryMode": "face-to-face",
"canBeCancelled": true
}
]
400 Validation error.
2 possible code values
CodeDescriptionWhen
invalid-patient-idThe patientId is not a UUIDpatientId not a UUID
patient-restrictedAccess to this patient is restricted for this staff member.patient record is marked as restricted in Medicus; only explicitly permitted staff members can access it (not a configuration error, handle gracefully)

Response fields

FieldTypeDescription
errors[].codestring
errors[].descriptionstring
{
"errors": [
{
"code": "invalid-patient-id",
"description": "The patientId is not a UUID"
}
]
}
404 No patient found for the given patientId.

Response fields

FieldTypeDescription
errors[].codestring
errors[].descriptionstring
{
"errors": [
{
"code": "patient-not-found",
"description": "Patient not found for the id: 3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}