/v1/bookingsList Bookings
Lists Bookings in the authenticated Organization. Diary queries require start_time_from and start_time_to, cannot exceed 30 days (90 days when patient_id is supplied), and are ordered by start_time. When status is a recall status (awaiting_recall, overdue_for_recall, recall_expired, or recall_canceled), omit the date window. Recall Bookings have no diary start_time, so the window is not applied; results are ordered by recall_due_date. did_not_attend still requires the date window.
Required API scopes: bookings.read
Parameters
start_time_from
query
string
Inclusive lower bound for
start_timein UTC ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). Required for diary queries, includingdid_not_attend. Omit this parameter whenstatusis a recall status.start_time_to
query
string
Inclusive upper bound for
start_timein UTC ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). Required withstart_time_fromfor diary queries, includingdid_not_attend. The range cannot exceed 30 days, or 90 days whenpatient_idis supplied. Omit this parameter whenstatusis a recall status.clinician_id
query
string
-
patient_id
query
string
Filter by a Patient with an active connection to the Organization. A valid connected Patient identifier permits a date range of up to 90 days.
status
query
string · enum: arrived | awaiting_payment | awaiting_recall | canceled | confirmed | did_not_attend | overdue_for_recall | prepared | recall_canceled | recall_expired | unconfirmed
Filter by Booking status. When
statusisawaiting_recall,overdue_for_recall,recall_expired, orrecall_canceled, omitstart_time_fromandstart_time_to. Those Bookings have no diarystart_time.did_not_attendstill requires the date window.updated_since
query
string
-
limit
query
integer
The maximum number of items to return. Defaults to
25; the maximum is100.starting_after
query
string
Return items after this resource ID. You cannot use this with
cursor.cursor
query
string
The
next_cursorvalue from the previous page. You cannot use this withstarting_after.
Responses
Paginated list of Booking objects.
dataarrayrequireditemsobjectcanceled_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.
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":
"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"
}
],
"has_more": false,
"next_cursor": "eyJzdGFydF90aW1lIjoiMjAyNi0wMS0wMVQwOTowMDowMFoifQ",
"url": "/v1/bookings"
}A diary date range parameter is missing, malformed, or exceeds the permitted 30-day or Patient-filtered 90-day span. Recall-status lists do not require a date range.
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 supplied Patient was not found among the Organization's active Patient connections.
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"
}
}