/v1/clinician_agendaGet a Clinician's diary
Returns the Clinician's Bookings, availability, and unavailability in time order. Bookings include staff and Patient details, so show only information appropriate for your users. Availability shows the diary schedule, not times that can necessarily be booked. Use the Availability Slots endpoints before creating a Booking. Unavailability labels and notes are not included.
Required API scopes: clinician_agenda.read
Parameters
clinician_ids[]
query · required
array
The Clinician whose diary to return. Pass exactly one identifier.
start_date
query · required
string
The first date to include, in ISO 8601 format (YYYY-MM-DD).
end_date
query · required
string
The last date to include, in ISO 8601 format (YYYY-MM-DD). The inclusive range cannot exceed 45 days.
Responses
Paginated list of ClinicianAgendaItem objects.
dataarrayrequireditemsobjectA Booking, availability interval, or unavailability interval in a Clinician's diary.
bookingobject | nullrequiredThe Booking represented by this item, or null for availability and unavailability.
canceled_atstring | null · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.cancellation_informationstring | nullrequiredAdditional notes recorded with the cancellation.
cancellation_reasonstring | nullrequiredThe reason the Booking was canceled. Required by Organizations that enforce cancellation reasons.
Allowed values:
abusive_behavior | booked_in_error | childcare_issues | clinician_annual_leave | clinician_emergency | clinician_schedule_change | colleague_unavailable | double_booked | duplicate_booking | equipment_issue | facility_unavailable | failed_to_pay_in_advance | family_emergency_illness | fear_or_anxiety | financial_concerns | financial_requirements_not_met | forgot_to_attend | insurance_company_not_permitted | insurance_coverage_issues | insurance_verification_failed | language_barrier | medication_interference | no_longer_required | no_response_to_recall | other | patient_deceased | patient_not_permitted | personal_emergency_illness | pre_booking_steps_not_completed | professional_discretion | referral_not_provided | relocated | rescheduled | scheduling_conflict | staff_issue | switched_to_another_clinician | symptoms_resolved | too_unwell | transportation_issues | unable_failed_to_prepare_for_booking | unknown | weather_conditions | wrong_clinician | wrong_location | wrong_service_type | nullcancellation_sourcestring | nullrequiredWho canceled the Booking. API cancellations use
api.Allowed values:
api | app | automation | patient | staff_member | nullclinicianobject | nullrequiredThe clinician assigned to the booking.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.display_namestringrequiredThe formatted name of the clinician, including title.
emailstring | null · emailrequiredThe practice contact email of the clinician within the organization.
first_namestring | nullrequiredThe first name of the clinician.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
last_namestring | nullrequiredThe last name of the clinician.
linksobjectrequiredURLs to related resources.
bookingsstring · urirequiredURL to list Bookings for this Clinician.
medical_specialtystring | nullrequiredThe medical specialty of the clinician, when recorded.
objectanyrequiredDiscriminator value emitted at
object.titlestring | nullrequiredThe professional or personal title of the clinician, when recorded, such as
Dr.updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.end_timestring | null · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
information_for_patientstring | nullrequiredThe sanitized HTML shown to the patient.
information_for_staff_membersstring | nullrequiredThe sanitized HTML shown only to staff members.
is_remotebooleanrequiredWhether the Booking takes place remotely.
linksobjectrequiredURLs to related resources.
clinicianstring | null · urirequiredThe full URL of a related resource.
invoicesstring · urirequiredThe full URL of a related resource.
lettersstring · urirequiredThe full URL of a related resource.
notesstring · urirequiredThe full URL of a related resource.
servicestring | null · urirequiredThe full URL of a related resource.
test_resultsstring · urirequiredThe full URL of a related resource.
locationobject | nullrequiredThe location where the booking takes place, or null for a remote booking.
address_line_1string | nullrequiredThe primary address line of the location.
address_line_2string | nullrequiredThe secondary address line of the location.
citystring | nullrequiredThe city in the location's postal address.
country_codestring | nullrequiredThe ISO 3166-1 alpha-2 country code for the postal address, such as
GBfor the United Kingdom.countystring | nullrequiredThe county or region in the location's postal address.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.formatted_addressstring | nullrequiredThe single-line address of the location, formatted for display.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
namestring | nullrequiredThe display name of the location.
objectanyrequiredDiscriminator value emitted at
object.postcodestring | nullrequiredThe postal code of the location.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
objectanyrequiredDiscriminator value emitted at
object.patientobject | nullrequiredThe patient attending the booking.
address_line_1string | nullrequiredThe primary address line of the Patient.
address_line_2string | nullrequiredThe secondary address line of the Patient.
citystring | nullrequiredThe city in the Patient's postal address.
country_codestring | nullrequiredThe ISO 3166-1 alpha-2 country code for the postal address, such as
GBfor the United Kingdom.countystring | nullrequiredThe county or region in the Patient's postal address.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.creation_sourcestring | nullrequiredHow the Patient was created.
apimeans the record was created through the Developer Platform. Read-only.date_of_birthstring | null · daterequiredThe date of birth of the patient, in ISO 8601 format (YYYY-MM-DD).
display_namestring | nullrequiredThe formatted display name of the patient, including their title when recorded.
emailstring | null · emailrequiredThe email address of the patient, when recorded.
first_namestring | nullrequiredThe first name of the patient.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
is_opted_out_of_smsbooleanrequiredWhether the Patient has opted out of SMS messages.
last_namestring | nullrequiredThe last name of the patient.
mobilestring | nullrequiredThe national mobile number without its country calling code.
mobile_country_dial_codestring | nullrequiredThe ISO 3166-1 alpha-2 country code used to derive the mobile calling code.
nhs_numberstring | nullrequiredThe 10-digit NHS number of the patient, without formatting.
objectanyrequiredDiscriminator value emitted at
object.phonestring | nullrequiredThe national phone number without its country calling code.
phone_country_dial_codestring | nullrequiredThe ISO 3166-1 alpha-2 country code used to derive the phone calling code.
phone_numberstring | nullrequiredThe Patient's preferred contact number, formatted for display and compatible with E.164.
postcodestring | nullrequiredThe postal code of the Patient.
sexstring | nullrequiredThe Patient's recorded sex.
Allowed values:
female | male | other | nulltitlestring | nullrequiredThe personal title of the patient, when recorded.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
payorobject | nullrequiredThe payor responsible for the booking's charges.
address_line_1string | nullrequiredThe primary address line of the payor.
address_line_2string | nullrequiredThe secondary address line of the payor.
alternative_payor_idstring | null · uuidrequiredThe identifier of the alternative payor responsible for payment, when
payor_typeisalternative_payor.citystring | nullrequiredThe city in the payor's postal address.
country_codestring | nullrequiredThe ISO 3166-1 alpha-2 country code for the postal address, such as
GBfor the United Kingdom.countystring | nullrequiredThe county or region in the payor's postal address.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.first_namestring | nullrequiredThe first name of the person responsible for payment, when applicable.
formatted_namestring | nullrequiredThe formatted name of the person responsible for payment.
formatted_payor_namestring | nullrequiredThe display name of the patient, insurer, or alternative payor responsible for payment.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
insurance_authorization_codestring | nullrequiredThe insurer's authorization code.
insurance_company_idstring | null · uuidrequiredThe identifier of the insurance company responsible for payment, when
payor_typeisinsurance_company.insurance_policy_end_datestring | null · daterequiredThe end date of the insurance policy, when recorded.
insurance_policy_numberstring | nullrequiredThe policy or membership number supplied by the insurer.
insurance_policy_start_datestring | null · daterequiredThe start date of the insurance policy, when recorded.
last_namestring | nullrequiredThe last name of the person responsible for payment, when applicable.
notesstring | nullrequiredThe additional payment or insurance information recorded for this payor.
objectanyrequiredDiscriminator value emitted at
object.payor_typestringrequiredThe type of party responsible for payment.
Allowed values:
patient | insurance_company | alternative_payorpostcodestring | nullrequiredThe postal code of the payor.
titlestring | nullrequiredThe personal title of the person responsible for payment, when applicable.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
recall_due_datestring | null · daterequiredThe date the Patient is due to return, in ISO 8601 format (YYYY-MM-DD). Present on recall Bookings. Null on diary Bookings.
remote_methodstring | nullrequiredThe remote consultation method.
native_videouses Carebit Video.Allowed values:
native_video | nullserviceobject | nullrequiredThe service being provided during the booking.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.descriptionstring | nullrequiredThe description of the service shown to staff members and patients.
duration_minutesinteger | nullrequiredThe scheduled duration of the service, in minutes.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
is_bookable_onlinebooleanrequiredWhether patients can book this service online in the Patient Portal.
namestringrequiredThe display name of the service.
objectanyrequiredDiscriminator value emitted at
object.service_variantsarrayrequiredThe bookable variants of this service.
itemsobjectclinician_idstring | null · uuidrequiredThe identifier of the clinician assigned to this service variant, when the variant is clinician-specific.
currencystring | nullrequiredThe ISO 4217 currency code used for this service variant. Must be one of
chf,eur,gbp, orusd.descriptionstring | nullrequiredThe description of this service variant.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
linksobjectrequiredURLs to related resources.
clinicianstring | null · urirequiredThe full URL of a related resource.
locationstring | null · urirequiredThe full URL of a related resource.
location_idstring | null · uuidrequiredThe identifier of the location assigned to this service variant, when the variant is location-specific.
net_priceinteger | nullrequiredThe net price of this service variant, before tax, in the currency's minor units.
permits_remote_bookingsbooleanrequiredWhether this service variant can be used for remote bookings.
tax_rateobject | nullrequiredThe tax rate applied to this service. Null when no tax rate is set.
descriptionstring | nullrequiredThe description of when the tax rate applies.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
percentagenumberrequiredThe tax rate as a percentage from 0 to 100.
titlestringrequiredThe display name of the tax rate, for example
20% VAT.
updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
service_variantsarrayrequiredThe service variants selected for the booking.
itemsobjectclinician_idstring | null · uuidrequiredThe identifier of the clinician assigned to this service variant, when the variant is clinician-specific.
currencystring | nullrequiredThe ISO 4217 currency code used for this service variant. Must be one of
chf,eur,gbp, orusd.descriptionstring | nullrequiredThe description of this service variant.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
linksobjectrequiredURLs to related resources.
clinicianstring | null · urirequiredThe full URL of a related resource.
locationstring | null · urirequiredThe full URL of a related resource.
location_idstring | null · uuidrequiredThe identifier of the location assigned to this service variant, when the variant is location-specific.
net_priceinteger | nullrequiredThe net price of this service variant, before tax, in the currency's minor units.
permits_remote_bookingsbooleanrequiredWhether this service variant can be used for remote bookings.
start_timestring | null · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.statusstring | nullrequiredThe Booking's current status. Null while Carebit is creating the record.
Allowed values:
arrived | awaiting_payment | awaiting_recall | canceled | confirmed | did_not_attend | overdue_for_recall | prepared | recall_canceled | recall_expired | unconfirmed | nullupdated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
clinician_idstring · uuidrequiredThe identifier of the Clinician whose diary contains the item.
end_timestring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.location_idstring | null · uuidrequiredThe Location associated with the item, when applicable.
objectanyrequiredAlways
clinician_agenda_item.room_idstring | null · uuidrequiredThe Room associated with the item, when applicable.
service_idsarrayrequiredThe Services associated with a Booking or availability interval.
itemsstring · uuid
service_variant_idsarrayrequiredThe ServiceVariants associated with a Booking or availability interval.
itemsstring · uuid
start_timestring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.typestringrequiredThe kind of diary item.
Allowed values:
availability | booking | unavailability
has_morebooleanrequiredWhether another page is available after
next_cursor.next_cursorstring | nullrequiredThe value to pass as
cursorfor the next page. Null on the last page.objectanyrequiredAlways
list.urlstringrequiredThe API path that returned this list.
Example
{
"object": "list",
"data":
"object": "clinician_agenda_item",
"booking":
"id": "92a3b4c5-d6e7-4f01-8234-56789abcdef0",
"object": "booking",
"canceled_at": "2026-01-01T09:00:00Z",
"cancellation_information": "The Patient asked to cancel by phone.",
"cancellation_reason": "abusive_behavior",
"cancellation_source": "api",
"clinician":
"id": "2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"object": "clinician",
"created_at": "2026-01-01T09:00:00Z",
"display_name": "Dr Alex Morgan",
"email": "alex.morgan@example.com",
"first_name": "Alex",
"last_name": "Morgan",
"links":
"bookings": "https://api.carebit.co/v1/bookings?clinician_id=2b3c4d5e-6f70-489a-9bcd-ef0123456789"
},
"medical_specialty": "Cardiology",
"title": "Dr",
"updated_at": "2026-01-01T09:00:00Z"
},
"created_at": "2026-01-01T09:00:00Z",
"end_time": "2026-01-01T10:00:00Z",
"information_for_patient": "<p>Please arrive 10 minutes before your appointment.</p>",
"information_for_staff_members": "<p>The Patient has requested step-free access.</p>",
"is_remote": false,
"links":
"clinician": "https://api.carebit.co/v1/clinicians/2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"invoices": "https://api.carebit.co/v1/invoices?booking_id=92a3b4c5-d6e7-4f01-8234-56789abcdef0",
"letters": "https://api.carebit.co/v1/letters?booking_id=92a3b4c5-d6e7-4f01-8234-56789abcdef0",
"notes": "https://api.carebit.co/v1/notes?booking_id=92a3b4c5-d6e7-4f01-8234-56789abcdef0",
"service": "https://api.carebit.co/v1/services/5e6f7081-92a3-4bcd-8ef0-123456789abc",
"test_results": "https://api.carebit.co/v1/test_results?booking_id=92a3b4c5-d6e7-4f01-8234-56789abcdef0"
},
"location":
"id": "3c4d5e6f-7081-49ab-acde-f0123456789a",
"object": "location",
"address_line_1": "10 Harley Street",
"address_line_2": "Marylebone",
"city": "London",
"country_code": "GB",
"county": "Greater London",
"created_at": "2026-01-01T09:00:00Z",
"formatted_address": "10 Harley Street, Marylebone, London, W1G 9PF",
"name": "Harley Street Clinic",
"postcode": "W1G 9PF",
"updated_at": "2026-01-01T09:00:00Z"
},
"patient":
"id": "1a2b3c4d-5e6f-4789-8abc-def012345678",
"object": "patient",
"address_line_1": "10 Harley Street",
"address_line_2": "Marylebone",
"city": "London",
"country_code": "GB",
"county": "Greater London",
"created_at": "2026-01-01T09:00:00Z",
"creation_source": "api",
"date_of_birth": "1990-01-01",
"display_name": "Dr Alex Morgan",
"email": "alex.morgan@example.com",
"first_name": "Alex",
"is_opted_out_of_sms": false,
"last_name": "Morgan",
"mobile": "7700900123",
"mobile_country_dial_code": "GB",
"nhs_number": "485 777 3456",
"phone": "2071234567",
"phone_country_dial_code": "GB",
"phone_number": "+44 7700 900123",
"postcode": "W1G 9PF",
"sex": "female",
"title": "Dr",
"updated_at": "2026-01-01T09:00:00Z"
},
"payor":
"id": "708192a3-b4c5-4def-8012-3456789abcde",
"object": "payor",
"address_line_1": "10 Harley Street",
"address_line_2": "Marylebone",
"alternative_payor_id": null,
"city": "London",
"country_code": "GB",
"county": "Greater London",
"created_at": "2026-01-01T09:00:00Z",
"first_name": "Alex",
"formatted_name": "Dr Alex Morgan",
"formatted_payor_name": "Bupa",
"insurance_authorization_code": "AUTH123",
"insurance_company_id": "855e25b0-b138-48da-86ea-15162ce81f14",
"insurance_policy_end_date": "2026-12-31",
"insurance_policy_number": "POLICY123",
"insurance_policy_start_date": "2026-01-01",
"last_name": "Morgan",
"notes": "Please confirm the appointment by email.",
"payor_type": "insurance_company",
"postcode": "W1G 9PF",
"title": "Dr",
"updated_at": "2026-01-01T09:00:00Z"
},
"recall_due_date": "2026-01-01",
"remote_method": null,
"service":
"id": "5e6f7081-92a3-4bcd-8ef0-123456789abc",
"object": "service",
"created_at": "2026-01-01T09:00:00Z",
"description": "An initial consultation at the Harley Street Clinic.",
"duration_minutes": 30,
"is_bookable_online": true,
"name": "Initial consultation",
"service_variants":
"id": "6f708192-a3b4-4cde-9f01-23456789abcd",
"clinician_id": "2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"currency": "GBP",
"description": "An initial consultation at the Harley Street Clinic.",
"links":
"clinician": "https://api.carebit.co/v1/clinicians/2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"location": "https://api.carebit.co/v1/locations/3c4d5e6f-7081-49ab-acde-f0123456789a"
},
"location_id": "3c4d5e6f-7081-49ab-acde-f0123456789a",
"net_price": 1,
"permits_remote_bookings": true
}
],
"tax_rate":
"id": "211b60c7-ec1b-41b4-8a29-e855209bc694",
"description": "An initial consultation at the Harley Street Clinic.",
"percentage": 20,
"title": "VAT"
},
"updated_at": "2026-01-01T09:00:00Z"
},
"service_variants":
"id": "6f708192-a3b4-4cde-9f01-23456789abcd",
"clinician_id": "2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"currency": "GBP",
"description": "An initial consultation at the Harley Street Clinic.",
"links":
"clinician": "https://api.carebit.co/v1/clinicians/2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"location": "https://api.carebit.co/v1/locations/3c4d5e6f-7081-49ab-acde-f0123456789a"
},
"location_id": "3c4d5e6f-7081-49ab-acde-f0123456789a",
"net_price": 1,
"permits_remote_bookings": true
}
],
"start_time": "2026-01-01T09:00:00Z",
"status": "arrived",
"updated_at": "2026-01-01T09:00:00Z"
},
"clinician_id": "2b3c4d5e-6f70-489a-9bcd-ef0123456789",
"end_time": "2026-01-01T10:00:00Z",
"location_id": "3c4d5e6f-7081-49ab-acde-f0123456789a",
"room_id": "4d5e6f70-8192-4abc-bdef-0123456789ab",
"service_ids":
"5e6f7081-92a3-4bcd-8ef0-123456789abc"
],
"service_variant_ids":
"6f708192-a3b4-4cde-9f01-23456789abcd"
],
"start_time": "2026-01-01T09:00:00Z",
"type": "availability"
}
],
"has_more": false,
"next_cursor": "eyJzdGFydF90aW1lIjoiMjAyNi0wMS0wMVQwOTowMDowMFoifQ",
"url": "/v1/clinician_agenda"
}The Clinician list or date range is missing, malformed, or outside the permitted limits.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}The access token is missing, invalid, expired, or revoked.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}The access token lacks the required scope, or the project is disabled.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}The Clinician was not found in the Organization.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}Too many requests. Retry after the delay indicated by Retry-After.
errorobjectrequiredThe structured details that describe why the request failed.
codestringrequiredThe machine-readable error code.
errorsarray | nullAdditional errors from a failed validation.
itemsobjectcodestringThe machine-readable code for this validation error.
messagestringA message that explains this validation error.
paramstring | nullThe name of the parameter that caused this validation error, when known.
messagestringrequiredA message that explains the error and how to resolve it.
paramstring | nullThe name of the parameter that caused the error, when known.
typestringrequiredThe high-level category of the error.
Allowed values:
authentication_error | permission_error | invalid_request_error | rate_limit_error | api_error
Example
{
"error":
"code": "resource_missing",
"errors":
"code": "resource_missing",
"message": "The requested resource was not found.",
"param": "patient_id"
}
],
"message": "The requested resource was not found.",
"param": "patient_id",
"type": "authentication_error"
}
}