Creates a new appointment for a patient.
Documentation Index
Fetch the complete documentation index at: https://docs.usecobalt.com/llms.txt
Use this file to discover all available pages before exploring further.
ehr_id values from your providers and locations:
provider: Use the ehr_id from GET /v1/providers (not the id)location: Use the ehr_id from GET /v1/locations (not the id)secondary_provider: Use the ehr_id from GET /v1/providers (not the id)id here. The id field from GET responses is Cobalt’s internal UUID, used only for updating provider/location settings via PATCH endpoints.datetime parameter with full ISO 8601 timestamp including timezone:
YYYY-MM-DDTHH:mm:ss±HH:MM (24-hour time with timezone offset)
date and time parameters separately. Important: When using this option, the time must be in 12-hour format with am or pm.
YYYY-MM-DD
Time Format: h:mm am/pm or hh:mm am/pm (12-hour format, must include am/pm)
prevent_double_booking to "true" to have Cobalt check the provider’s schedule for conflicts before submitting the appointment to your EHR. If the requested time slot overlaps with an existing patient visit or a schedule block, the appointment fails immediately with a descriptive error rather than being submitted.
appointment.failed webhook with the conflict_type and conflict_details fields populated (see Failure Examples below).
appointment.failed webhook event includes a failure_reason and can contain additional fields in the data object depending on the cause of the failure.
Patient Not Found:
true, false When set to "true", Cobalt checks the provider's schedule for conflicts before submitting the appointment to the EHR. If an overlap is detected with an existing patient visit or schedule block, the appointment fails immediately with a structured error rather than being submitted. Supported for eClinicalWorks and Practice Fusion; ignored for all other EHR systems. Defaults to no conflict check when omitted.
true, false