Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| identifier | string | A short identifier to reference the appointment |
| status | object | The current status of the appointment Pending = Appointment is yet to be readied Confirmed = Appointment has been readied and waiting to be serviced In-progress = Specialist is en-route/arrived at pat |
| patient | object | Patient details for the appointment |
| labOrderDetails | array | Lab order details for the appointment |
| startAt | string | Appointment start time |
| endAt | string | Appointment end time |
| isRebook | boolean | True if the appointment has been rescheduled. |
| address | object | Address where the appointment will take place |
| isRefundable | boolean | True if canceling the appointment will result in a refund |
| isRebookable | boolean | True if the appointment start time can be changed via the rebook endpoint. |
| cancellationReason | objectnull | The reason the appointment was cancelled |
| cancellationNote | stringnull | Any extra information as to why the appointment was cancelled |
| cancellationOrigin | object | The origin of the cancellation. Will be one of `patient`, `partner`, or `getlabs`. |
| cancellationChargeable | boolean | Denotes if Getlabs will still charge for the appointment based on the cancellation. |
| behalfOf | objectnull | Details of the person booking on behalf of the patient. |
| parkingInstruction | stringnull | Instructions for parking. |
| specialRequest | stringnull | Special request notes. |
| specimens | array | Specimens collected for the appointment. Specimens will only exist on completed/near-complete appointments. |
| samples | array | Samples for the appointment. Samples will only exist after an appointment has been confirmed. |
| createdAt | string | Appointment created date/time |
| redrawnFromId | stringnull | The appointment ID of the original appointment that this redraw is for. |
| externalId | stringnull | External identifier for the appointment. |
| groupId | stringnull | The ID of the [appointment group](#tag/Appointment-Group) this appointment belongs to, or null if it is not in a group. |
| eta | stringnull | The specialist's original ETA date/time (UTC), stamped when the appointment is routed. See `updatedEta` for the current ETA when the arrival time has changed. |
| updatedEta | stringnull | Specialist's ETA date/time (UTC), available when status is In-progress |
| isRedrawable | boolean | True if the appointment can be redrawn. |
| hasInvestigation | boolean | Whether the appointment has a quality investigation. |
| specialist | objectnull | The specialist assigned to the appointment. Note that specialists may be reassigned multiple times throughout the lifecycle of the appointment. This value is only guaranteed to be accurate once the ap |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/getlabs/json-schema/getlabs-appointment-dto-schema.json",
"title": "AppointmentDto",
"x-generated": "2026-12-02",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/getlabs-openapi.yml#/components/schemas/AppointmentDto",
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"format": "uuid"
},
"identifier": {
"type": "string",
"readOnly": true,
"description": "A short identifier to reference the appointment"
},
"status": {
"readOnly": true,
"description": "The current status of the appointment\n\nPending = Appointment is yet to be readied\nConfirmed = Appointment has been readied and waiting to be serviced\nIn-progress = Specialist is en-route/arrived at patient's home\nCompleted = Successful lab draw\nCancelled = Appointment canceled by us or the patient",
"allOf": [
{
"$ref": "#/$defs/AppointmentStatus"
}
]
},
"patient": {
"readOnly": true,
"description": "Patient details for the appointment",
"allOf": [
{
"$ref": "#/$defs/PatientDto"
}
]
},
"labOrderDetails": {
"description": "Lab order details for the appointment",
"type": "array",
"items": {
"$ref": "#/$defs/LabOrderDetailsDto"
}
},
"startAt": {
"format": "date-time",
"type": "string",
"readOnly": true,
"description": "Appointment start time"
},
"endAt": {
"format": "date-time",
"type": "string",
"readOnly": true,
"description": "Appointment end time"
},
"isRebook": {
"type": "boolean",
"readOnly": true,
"description": "True if the appointment has been rescheduled."
},
"address": {
"readOnly": true,
"description": "Address where the appointment will take place",
"allOf": [
{
"$ref": "#/$defs/AddressDto"
}
]
},
"isRefundable": {
"type": "boolean",
"readOnly": true,
"description": "True if canceling the appointment will result in a refund"
},
"isRebookable": {
"type": "boolean",
"readOnly": true,
"description": "True if the appointment start time can be changed via the rebook endpoint."
},
"cancellationReason": {
"readOnly": true,
"description": "The reason the appointment was cancelled",
"type": [
"object",
"null"
],
"allOf": [
{
"$ref": "#/$defs/CancellationReasonDto"
}
]
},
"cancellationNote": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Any extra information as to why the appointment was cancelled"
},
"cancellationOrigin": {
"readOnly": true,
"nullable": true,
"description": "The origin of the cancellation. Will be one of `patient`, `partner`, or `getlabs`.",
"allOf": [
{
"$ref": "#/$defs/AppointmentCancellationOrigin"
}
]
},
"cancellationChargeable": {
"type": "boolean",
"readOnly": true,
"description": "Denotes if Getlabs will still charge for the appointment based on the cancellation."
},
"behalfOf": {
"readOnly": true,
"description": "Details of the person booking on behalf of the patient.",
"type": [
"object",
"null"
],
"allOf": [
{
"$ref": "#/$defs/BehalfOfDto"
}
]
},
"parkingInstruction": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Instructions for parking."
},
"specialRequest": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Special request notes."
},
"specimens": {
"readOnly": true,
"description": "Specimens collected for the appointment. Specimens will only exist on completed/near-complete appointments.",
"type": "array",
"items": {
"$ref": "#/$defs/ExtendedFileDto"
}
},
"samples": {
"readOnly": true,
"description": "Samples for the appointment. Samples will only exist after an appointment has been confirmed.",
"type": "array",
"items": {
"$ref": "#/$defs/AppointmentSampleDto"
}
},
"createdAt": {
"format": "date-time",
"type": "string",
"readOnly": true,
"description": "Appointment created date/time"
},
"redrawnFromId": {
"type": [
"string",
"null"
],
"readOnly": true,
"format": "uuid",
"description": "The appointment ID of the original appointment that this redraw is for."
},
"externalId": {
"type": [
"string",
"null"
],
"description": "External identifier for the appointment."
},
"groupId": {
"type": [
"string",
"null"
],
"readOnly": true,
"format": "uuid",
"description": "The ID of the [appointment group](#tag/Appointment-Group) this appointment belongs to, or null if it is not in a group."
},
"eta": {
"format": "date-time",
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The specialist's original ETA date/time (UTC), stamped when the appointment is routed. See `updatedEta` for the current ETA when the arrival time has changed."
},
"updatedEta": {
"format": "date-time",
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Specialist's ETA date/time (UTC), available when status is In-progress"
},
"isRedrawable": {
"type": "boolean",
"readOnly": true,
"description": "True if the appointment can be redrawn."
},
"hasInvestigation": {
"type": "boolean",
"readOnly": true,
"description": "Whether the appointment has a quality investigation."
},
"specialist": {
"readOnly": true,
"description": "The specialist assigned to the appointment. Note that specialists may be reassigned multiple times throughout the lifecycle of the appointment. This value is only guaranteed to be accurate once the appointment is in progress.",
"type": [
"object",
"null"
],
"allOf": [
{
"$ref": "#/$defs/AppointmentSpecialistDto"
}
]
}
},
"required": [
"id",
"identifier",
"status",
"patient",
"labOrderDetails",
"startAt",
"endAt",
"address",
"isRefundable",
"isRebookable",
"cancellationChargeable",
"createdAt",
"eta",
"updatedEta",
"isRedrawable",
"hasInvestigation"
],
"$defs": {
"AddressDto": {
"type": "object",
"properties": {
"street": {
"type": "string",
"description": "Street address"
},
"unit": {
"type": [
"string",
"null"
],
"description": "Unit number"
},
"city": {
"type": "string",
"description": "City"
},
"state": {
"type": "string",
"description": "2 character state code"
},
"zipCode": {
"type": "string",
"description": "5 digit zip code for the appointment"
},
"timezone": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The timezone for the address"
}
},
"required": [
"street",
"city",
"state",
"zipCode"
]
},
"AlternateContactDto": {
"type": "object",
"properties": {
"phoneNumber": {
"type": "string",
"minLength": 10,
"maxLength": 10,
"description": "10 digit phone number of the alternate contact."
},
"name": {
"type": "string",
"description": "Name of the alternate contact."
},
"relationship": {
"type": "string",
"description": "Relationship of the alternate contact to the patient (e.g. 'caregiver', 'relative', 'facility')."
},
"isPrimary": {
"type": "boolean",
"description": "Whether this alternate contact should be treated as the patient's primary contact."
}
},
"required": [
"phoneNumber",
"name",
"relationship"
]
},
"AppointmentCancellationOrigin": {
"type": "string",
"enum": [
"patient",
"partner",
"getlabs",
null
],
"description": "The origin of the cancellation. Will be one of `patient`, `partner`, or `getlabs`."
},
"AppointmentSampleDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"format": "uuid",
"description": "The sample's ID."
},
"type": {
"type": "string",
"readOnly": true,
"description": "The sample's type."
},
"quantity": {
"type": "number",
"readOnly": true,
"description": "The quantity of sample requested to be collected."
},
"labOrderDetailsId": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The ID of the lab order that the sample belongs to."
},
"collected": {
"type": "boolean",
"readOnly": true,
"description": "Whether the sample has been collected for the appointment. Will be false if the sample was not collected or if it was partially collected."
},
"uncollectedReason": {
"readOnly": true,
"nullable": true,
"description": "Reason for why this sample was not collected. Will be null if the sample was partially collected. Only one of uncollectedReason or partiallyCollectedReason will be non-null at a time.",
"allOf": [
{
"$ref": "#/$defs/AppointmentSampleUncollectedReason"
}
]
},
"partiallyCollected": {
"type": "boolean",
"readOnly": true,
"description": "Whether the sample has been partially collected for the appointment."
},
"partiallyCollectedReason": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Reason for why this sample was only partially collected."
}
},
"required": [
"id",
"type",
"quantity",
"labOrderDetailsId",
"collected",
"uncollectedReason",
"partiallyCollected",
"partiallyCollectedReason"
]
},
"AppointmentSampleUncollectedReason": {
"type": "string",
"enum": [
"patient-health-issue",
"weak-blood-flow",
"flat-tube",
"consent-withdrawn",
"hematoma-formed",
"missed-vein",
"unable-to-void",
"other"
],
"description": "Reason for why this sample was not collected. Will be null if the sample was partially collected. Only one of uncollectedReason or partiallyCollectedReason will be non-null at a time."
},
"AppointmentSpecialistDto": {
"type": "object",
"properties": {
"name": {
"type": "string",
"readOnly": true,
"description": "The first name for the specialist."
},
"photoUrl": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Photo url for the specialist's photo. Null when the specialist has not consented to sharing their details with patients.\n\nThis and the other bio properties are null until the first touch point condition is reached, which is the earlier of: a two-stops-away or one-stop-away notification for the appointment (whether or not Getlabs delivers it), or the specialist is en-route for the appointment. If the specialist is reassigned after the first touch point and before arriving, they are the new specialist's details, and are null only while no specialist is assigned. The `appointment.updated.specialist-details-available` webhook is sent when a two-stops-away, one-stop-away or en-route notification fills them in. It is not sent for every case: when they are filled in only because the specialist is en route, for example because the en-route notification was held back after the ETA passed, no webhook is sent. Do not rely on the webhook alone to know they are available. It is sent once per appointment. A reassignment after it sends `appointment.updated.specialist-reassigned` instead."
},
"namePronunciation": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "How to pronounce the specialist's name. Null until the first touch point."
},
"bio": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "A one-sentence introduction to the specialist, written for the patient. Null until the first touch point. Also null when the specialist has not consented to sharing their details with patients, or their profile does not have enough information to build it."
}
},
"required": [
"name",
"photoUrl",
"namePronunciation",
"bio"
]
},
"AppointmentStatus": {
"type": "string",
"enum": [
"pending",
"confirmed",
"in-progress",
"completed",
"cancelled"
],
"description": "The current status of the appointment\n\nPending = Appointment is yet to be readied\nConfirmed = Appointment has been readied and waiting to be serviced\nIn-progress = Specialist is en-route/arrived at patient's home\nCompleted = Successful lab draw\nCancelled = Appointment canceled by us or the patient"
},
"BehalfOfDto": {
"type": "object",
"properties": {
"firstName": {
"type": "string",
"description": "First name of the person booking on behalf of"
},
"lastName": {
"type": "string",
"description": "Last name of the person booking on behalf of"
},
"email": {
"type": "string",
"description": "Email of the person booking on behalf of"
},
"phoneNumber": {
"type": "string",
"description": "Phone number of the person booking on behalf of"
},
"isLegalGuardian": {
"type": "boolean",
"description": "Are you the the patient's parent, legal guardian, or caretaker"
},
"shouldNotify": {
"type": "boolean",
"description": "Should we notify you of the patient's appointment status?"
}
}
},
"CancellationReasonDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"format": "uuid",
"description": "The ID of the cancellation reason"
},
"name": {
"type": "string",
"readOnly": true,
"description": "What the cancellation reason is used for"
},
"slug": {
"type": "string",
"readOnly": true,
"description": "A slugified, unique identifier for the cancellation reason. Useful for referencing reasons across environments without relying on the ID, since reasons and their terms may differ per environment."
},
"isRefundable": {
"type": "boolean",
"readOnly": true,
"description": "If true the patient is entitled to a refund after cancelling the appointment"
},
"cancellationOrigin": {
"readOnly": true,
"nullable": true,
"description": "Who a cancellation made with this reason is attributed to. Will be one of `patient`, `partner`, or `getlabs`.",
"allOf": [
{
"$ref": "#/$defs/CancellationReasonOrigin"
}
]
}
},
"required": [
"id",
"name",
"slug",
"isRefundable",
"cancellationOrigin"
]
},
"CancellationReasonOrigin": {
"type": "string",
"enum": [
"getlabs",
"patient",
"partner",
null
],
"description": "Who a cancellation made with this reason is attributed to. Will be one of `patient`, `partner`, or `getlabs`."
},
"ExtendedFileDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"format": "uuid"
},
"name": {
"type": "string",
"description": "File name"
},
"purpose": {
"description": "The purpose of this file, must be one of the available options",
"allOf": [
{
"$ref": "#/$defs/ExtendedFilePurpose"
}
]
},
"data": {
"type": "string",
"description": "Base64 encoded file contents, maximum size of 25 MB. The file MIME types allowed differ depending on the file \"purpose\":\n* lab-order can be one of: image/png, image/jpeg, image/heic, image/heif, image/tiff, application/pdf\n* collection-instructions can be one of: image/png, image/jpeg, image/heic, image/heif, image/tiff, application/pdf\n* insurance-front, insurance-rear can be one of: image/png, image/jpeg, image/heic, image/heif, image/tiff, application/pdf",
"writeOnly": true
},
"size": {
"type": "number",
"description": "The file size in bytes",
"readOnly": true
},
"type": {
"type": "string",
"description": "Type of the file.",
"readOnly": true
},
"url": {
"type": "string",
"description": "Signed, expiring url for the file.",
"readOnly": true
}
},
"required": [
"name",
"purpose",
"data",
"size",
"type",
"url"
]
},
"ExtendedFilePurpose": {
"type": "string",
"enum": [
"lab-order",
"collection-instructions",
"insurance-front",
"insurance-rear",
"specimen"
],
"description": "The purpose of this file, must be one of the available options"
},
"FileDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"format": "uuid"
},
"name": {
"type": "string",
"description": "File name"
},
"purpose": {
"description": "The purpose of this file, must be one of the available options",
"allOf": [
{
"$ref": "#/$defs/FilePurpose"
}
]
},
"data": {
"type": "string",
"description": "Base64 encoded file contents, maximum size of 25 MB. The file MIME types allowed differ depending on the file \"purpose\":\n* lab-order can be one of: image/png, image/jpeg, image/heic, image/heif, image/tiff, application/pdf\n* collection-instructions can be one of: image/png, image/jpeg, image/heic, image/heif, image/tiff, application/pdf\n* insurance-front, insurance-rear can be one of: image/png, image/jpeg, image/heic, image/heif, image/tiff, application/pdf",
"writeOnly": true
},
"size": {
"type": "number",
"description": "The file size in bytes",
"readOnly": true
},
"type": {
"type": "string",
"description": "Type of the file.",
"readOnly": true
}
},
"required": [
"name",
"purpose",
"data",
"size",
"type"
]
},
"FilePurpose": {
"type": "string",
"enum": [
"lab-order",
"collection-instructions",
"insurance-front",
"insurance-rear"
],
"description": "The purpose of this file, must be one of the available options"
},
"GuardianDto": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
],
"description": "Name of the patient's guardian, this is required if the patient is under 18 years old"
},
"relationship": {
"type": [
"string",
"null"
],
"description": "Patient's relationship to the guardian, this is required if the patient is under 18 years old"
}
}
},
"InsuranceDto": {
"type": "object",
"properties": {
"front": {
"description": "The file object representing the image of the front of the insurance",
"readOnly": true,
"type": [
"object",
"null"
],
"allOf": [
{
"$ref": "#/$defs/FileDto"
}
]
},
"rear": {
"description": "The file object representing the image of the rear of the insurance",
"readOnly": true,
"type": [
"object",
"null"
],
"allOf": [
{
"$ref": "#/$defs/FileDto"
}
]
},
"frontId": {
"type": [
"string",
"null"
],
"description": "A file ID with a purpose of 'insurance-front' uploaded using the file endpoint, or null to remove the existing image",
"format": "uuid",
"writeOnly": true
},
"rearId": {
"type": [
"string",
"null"
],
"description": "A file ID with a purpose of 'insurance-rear' uploaded using the file endpoint, or null to remove the existing image",
"format": "uuid",
"writeOnly": true
}
}
},
"LabOrderDetailsDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"format": "uuid",
"description": "The ID of this entity"
},
"contactName": {
"type": [
"string",
"null"
],
"description": "Name of the person/doctor's office who has the lab order details. Required if labOrderFileIds does NOT include a 'lab-order' file AND the appointment is NOT a priority appointment."
},
"contactPhone": {
"type": [
"string",
"null"
],
"description": "10 digit phone number of the person/doctor's office who has the lab order details. Required if labOrderFileIds does NOT include a 'lab-order' file AND the appointment is NOT a priority appointment."
},
"labOrderFiles": {
"readOnly": true,
"description": "An array of all files attached.",
"type": "array",
"items": {
"$ref": "#/$defs/ExtendedFileDto"
}
},
"testCodes": {
"description": "An array of test codes to be performed for this lab order.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"labOrderFileIds": {
"writeOnly": true,
"description": "An array of file IDs that were previously uploaded (and returned) using the /file endpoint. Files must have a purpose of 'lab-order' or 'collection-instructions'; a 'collection-instructions' file is only ever an attachment, so at least one 'lab-order' file is still required wherever a lab order is. Required if contactName and contactPhone are not set OR if trying to schedule a priority appointment and/or have already uploaded files using the /file endpoint.",
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
}
},
"PatientCommunicationSettingsDto": {
"type": "object",
"properties": {
"alternateContact": {
"description": "Alternate contact for the patient.",
"type": [
"object",
"null"
],
"allOf": [
{
"$ref": "#/$defs/AlternateContactDto"
}
]
},
"optInSms": {
"type": "boolean",
"description": "Whether the patient gets appointment reminders and updates by SMS (never marketing). Defaults to `true` on create; partners must have patient consent."
}
}
},
"PatientDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The patient's ID."
},
"externalId": {
"type": [
"string",
"null"
],
"description": "External identifier for the patient."
},
"email": {
"type": [
"string",
"null"
],
"format": "email",
"description": "Email address."
},
"phoneNumber": {
"type": [
"string",
"null"
],
"minLength": 10,
"maxLength": 10,
"description": "10 digit phone number."
},
"firstName": {
"type": "string",
"description": "First name."
},
"lastName": {
"type": "string",
"description": "Last name."
},
"dob": {
"type": "string",
"description": "Date of birth (YYYY-MM-DD).",
"format": "date"
},
"birthSex": {
"description": "Birth sex.",
"allOf": [
{
"$ref": "#/$defs/UserGender"
}
]
},
"pronouns": {
"type": [
"string",
"null"
],
"description": "The patient's preferred pronouns."
},
"editable": {
"type": "boolean",
"description": "Indicates if the patient's details are editable."
},
"guardian": {
"description": "The patient's guardian, this is required if the patient is under 18 years old.",
"allOf": [
{
"$ref": "#/$defs/GuardianDto"
}
]
},
"insurance": {
"description": "Images of the patient's insurance.",
"allOf": [
{
"$ref": "#/$defs/InsuranceDto"
}
]
},
"communicationSettings": {
"description": "The patient's communication settings. New patients are opted in to SMS unless `optInSms` is `false`.",
"allOf": [
{
"$ref": "#/$defs/PatientCommunicationSettingsDto"
}
]
}
},
"required": [
"firstName",
"lastName",
"dob",
"birthSex"
]
},
"UserGender": {
"type": "string",
"enum": [
"male",
"female",
"other"
],
"description": "Birth sex."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/getlabs-appointment-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.