Skip to main content
POST
Create an appointment
Safety
  • Writes data: Yes. Creates an appointment in HealOS. It is not sent to your EHR.
  • Safe to retry: Only with external_id: a repeat with the same external_id returns 409 with the existing record instead of a duplicate. Without it, a retry creates a second record.
  • Contacts an outside system: None
  • Dry run: Not available.
Guide: Making requests. Errors: Error catalog.

Authorizations

X-API-Key
string
header
required

API key obtained from /api/v1/ext-api-keys

Headers

Idempotency-Key
string

Makes a retry of this request safe. A repeat with the same key and the same request within 24 hours does not run again: it returns the original status with the resource as it is now, and an Idempotent-Replayed: true header. Keys are scoped to your organization and API key. See https://docs.healos.ai/idempotency. Up to 255 printable ASCII characters. Use a new random value (a UUID) for each new request and resend the same value when you retry it.

Required string length: 1 - 255
Example:

"5f0c3a8e-2b7d-4c1e-9a64-0d3f2e1b7c90"

Body

application/json
patient_id
string
required

Patient ID (numeric)

Pattern: ^\d+$
Example:

"1743552000000"

appointment_type
string
required

Type of appointment

Example:

"Initial Evaluation"

visit_type
enum<string>
required
Available options:
Telehealth,
In-Person,
Both,
Other
Example:

"Telehealth"

start_at
string<date-time>
required

ISO 8601 datetime

Example:

"2026-04-15T14:00:00.000Z"

duration_minutes
number
required

Duration in minutes

Required range: x >= 1
Example:

50

provider_id
string

Optional internal provider id (see GET /providers) to assign this appointment to. Must be a provider in your organization. Defaults to the provider that owns the API key.

Minimum string length: 1
Example:

"aaaaaaa1-0000-0000-0000-000000000001"

notes
string
Example:

"New patient intake. Please complete forms beforehand."

status
enum<string>
default:SCHEDULED
Available options:
SCHEDULED,
COMPLETED,
CANCELLED,
NO_SHOW
Example:

"SCHEDULED"

repeat_rule
object

Recurrence rule

external_id
string

Optional caller-supplied identifier. Unique per organization; immutable once set. Duplicate values return 409 with the existing record.

Required string length: 1 - 255
Example:

"PARTNER-APPT-789"

Response

Appointment created

data
object
required