Appointment lifecycle endpoints: list available slots, create, read, update, and cancel appointments, and look up tracking status.
Return a list of available appointment slots.
Query for available appointment time slots matching the given filter criteria. Labcorp limits appointment times to within the next 90 days, regardless of the search criteria given. The optional startDate and numberOfDays parameters can be used to shift the boundaries of the search results within that overall 90-day limitation, e.g. if startDate is 80 days out, a maximum of 10 days' worth of possible times can be returned even if more days are requested.
query Parameters
locationIdThe id for the location you would like to search for appointment times.
serviceIdThe id for the service you would like to search for appointment times.
startDate^\d{4}-\d{2}-\d{2}$Optional starting date for returned values. Defaults to today; this value can be in the future by up to 90 days.
numberOfDaysOptional number of days, inclusive of startDate, to return appointment slots. This value is between 1 and 90, with a default of 7.
weekdayOptional day(s) of the week you would like to search for. This filters the results to only the specified day(s) of the week.
timeframeOptional time of day against which to filter appointment times:
MORNING- prior to 10AMMIDDAY- between 10AM and 2PMEVENING- between 2PM and closing time
Return a list of available appointment slots. › Responses
List of available appointment times.
datetime^\d{4}-\d{2}-\d{2}T\…Query an appointment tracking record under the provided id.
If a tracking ID was used during the scheduling or cancelling of an appointment, a record is kept of the last known status of that appointment. This endpoint queries the current record.
Required headers: - Authorization: Bearer <okta_token> - client-id: <okta_client_id> - One of: x-partner-token or the Aperture-forwarded partner identity
path Parameters
idID of a tracking record.
Query an appointment tracking record under the provided id. › Responses
An appointment tracking record was found.
statusLast known status of the appointment, where Pending indicates the schedule was started but not completed.
confirmationNumberCreate an appointment
Schedule a new appointment for a patient at a particular Labcorp location. If an email and/or a phone number is provided with the patient data, Labcorp sends confirmation messages when the appointment is successfully scheduled.
Validation behavior (partner-type based): Validation is determined by partner type. See the Scheduling workflow guide for the full breakdown of enforced vs. relaxed validation, and de-identified patient support.
Required headers: - Authorization: Bearer <okta_token> - client-id: <okta_client_id> - One of: x-partner-token or the Aperture-forwarded partner identity
Create an appointment › Request Body
locationIdserviceIdappointmentTime^\d{4}-\d{2}-\d{2}T\… · requiredconfirmationNumberAppointment number if this is an existing appointment. Required for appointment updates.
qrCodeA base64-encoded PNG image that represents a QR code used by the patient to check in for their appointment at a Labcorp patient service center.
confirmationUrlLabcorp confirmation URL for this appointment.
Create an appointment › Responses
Appointment successfully created
locationIdserviceIdappointmentTime^\d{4}-\d{2}-\d{2}T\… · requiredconfirmationNumberAppointment number if this is an existing appointment. Required for appointment updates.
qrCodeA base64-encoded PNG image that represents a QR code used by the patient to check in for their appointment at a Labcorp patient service center.
confirmationUrlLabcorp confirmation URL for this appointment.
Get appointment details
Using the provided confirmation number, retrieve the matching appointment record. This will not return a value if the appointment is cancelled, or if the current partner ID is not the one that scheduled the appointment.
Required headers: - Authorization: Bearer <okta_token> - client-id: <okta_client_id> - One of: x-partner-token or the Aperture-forwarded partner identity
path Parameters
confirmationNumberID of an appointment.
Get appointment details › Responses
Appointment found
locationIdserviceIdappointmentTime^\d{4}-\d{2}-\d{2}T\… · requiredconfirmationNumberAppointment number if this is an existing appointment. Required for appointment updates.
qrCodeA base64-encoded PNG image that represents a QR code used by the patient to check in for their appointment at a Labcorp patient service center.
confirmationUrlLabcorp confirmation URL for this appointment.
Update an existing appointment
An existing appointment, identified by the confirmation number, can be updated to have entirely new content. If the appointment date or time is modified, this checks availability and can fail if that time is not available.
Validation behavior (partner-type based): Validation is determined by partner type. See the Scheduling workflow guide for details.
Required headers: - Authorization: Bearer <okta_token> - client-id: <okta_client_id> - One of: x-partner-token or the Aperture-forwarded partner identity
path Parameters
confirmationNumberID of an appointment.
Update an existing appointment › Request Body
locationIdserviceIdappointmentTime^\d{4}-\d{2}-\d{2}T\… · requiredconfirmationNumberAppointment number if this is an existing appointment. Required for appointment updates.
qrCodeA base64-encoded PNG image that represents a QR code used by the patient to check in for their appointment at a Labcorp patient service center.
confirmationUrlLabcorp confirmation URL for this appointment.
Update an existing appointment › Responses
Appointment successfully updated
locationIdserviceIdappointmentTime^\d{4}-\d{2}-\d{2}T\… · requiredconfirmationNumberAppointment number if this is an existing appointment. Required for appointment updates.
qrCodeA base64-encoded PNG image that represents a QR code used by the patient to check in for their appointment at a Labcorp patient service center.
confirmationUrlLabcorp confirmation URL for this appointment.
Cancel an appointment
Cancel a currently scheduled appointment. Once complete, the appointment is permanently disabled and cannot be interacted with again. If an email and/or a phone number was provided during the original schedule call, Labcorp sends cancellation messages.
Required headers: - Authorization: Bearer <okta_token> - client-id: <okta_client_id> - One of: x-partner-token or the Aperture-forwarded partner identity
path Parameters
confirmationNumberID of an appointment.
Cancel an appointment › Request Body
firstNamePatient's first name.
lastNamePatient's last name.
Cancel an appointment › Responses
Appointment successfully cancelled

