Update an appointment
curl --request PATCH \
--url https://api.healos.ai/ext-api/v1/appointments/{appointmentId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"patient_id": "1743552000000",
"provider_id": "aaaaaaa1-0000-0000-0000-000000000001",
"appointment_type": "Follow-up",
"visit_type": "In-Person",
"start_at": "2026-04-15T14:00:00.000Z",
"duration_minutes": 50,
"notes": "Updated notes",
"status": "COMPLETED"
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
patient_id: '1743552000000',
provider_id: 'aaaaaaa1-0000-0000-0000-000000000001',
appointment_type: 'Follow-up',
visit_type: 'In-Person',
start_at: '2026-04-15T14:00:00.000Z',
duration_minutes: 50,
notes: 'Updated notes',
status: 'COMPLETED'
})
};
fetch('https://api.healos.ai/ext-api/v1/appointments/{appointmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.healos.ai/ext-api/v1/appointments/{appointmentId}"
payload = {
"patient_id": "1743552000000",
"provider_id": "aaaaaaa1-0000-0000-0000-000000000001",
"appointment_type": "Follow-up",
"visit_type": "In-Person",
"start_at": "2026-04-15T14:00:00.000Z",
"duration_minutes": 50,
"notes": "Updated notes",
"status": "COMPLETED"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"patient_id": "1743552000000",
"patient_name": "Maria Santos",
"provider_id": "aaaaaaa1-0000-0000-0000-000000000001",
"provider_name": "Dr. Alice Nguyen",
"provider_npi": "1234567890",
"appointment_type": "Initial Evaluation",
"visit_type": "Telehealth",
"start_at": "2026-04-15T14:00:00.000Z",
"duration_minutes": 50,
"notes": "New patient intake. Please complete forms beforehand.",
"status": "SCHEDULED",
"created_at": "2026-04-01T10:00:00.000Z",
"updated_at": "2026-04-01T10:00:00.000Z",
"repeat_rule": {
"frequency": "WEEKLY",
"interval": 1,
"end_date": "2026-07-15"
},
"external_id": "PARTNER-APPT-789"
}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}Appointments
Update an appointment
PATCH
/
appointments
/
{appointmentId}
Update an appointment
curl --request PATCH \
--url https://api.healos.ai/ext-api/v1/appointments/{appointmentId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"patient_id": "1743552000000",
"provider_id": "aaaaaaa1-0000-0000-0000-000000000001",
"appointment_type": "Follow-up",
"visit_type": "In-Person",
"start_at": "2026-04-15T14:00:00.000Z",
"duration_minutes": 50,
"notes": "Updated notes",
"status": "COMPLETED"
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
patient_id: '1743552000000',
provider_id: 'aaaaaaa1-0000-0000-0000-000000000001',
appointment_type: 'Follow-up',
visit_type: 'In-Person',
start_at: '2026-04-15T14:00:00.000Z',
duration_minutes: 50,
notes: 'Updated notes',
status: 'COMPLETED'
})
};
fetch('https://api.healos.ai/ext-api/v1/appointments/{appointmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.healos.ai/ext-api/v1/appointments/{appointmentId}"
payload = {
"patient_id": "1743552000000",
"provider_id": "aaaaaaa1-0000-0000-0000-000000000001",
"appointment_type": "Follow-up",
"visit_type": "In-Person",
"start_at": "2026-04-15T14:00:00.000Z",
"duration_minutes": 50,
"notes": "Updated notes",
"status": "COMPLETED"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"patient_id": "1743552000000",
"patient_name": "Maria Santos",
"provider_id": "aaaaaaa1-0000-0000-0000-000000000001",
"provider_name": "Dr. Alice Nguyen",
"provider_npi": "1234567890",
"appointment_type": "Initial Evaluation",
"visit_type": "Telehealth",
"start_at": "2026-04-15T14:00:00.000Z",
"duration_minutes": 50,
"notes": "New patient intake. Please complete forms beforehand.",
"status": "SCHEDULED",
"created_at": "2026-04-01T10:00:00.000Z",
"updated_at": "2026-04-01T10:00:00.000Z",
"repeat_rule": {
"frequency": "WEEKLY",
"interval": 1,
"end_date": "2026-07-15"
},
"external_id": "PARTNER-APPT-789"
}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}| Requirement | Detail |
|---|---|
| Scope | appointments:write |
| Rate limit | About 60 requests per minute per API key (shared by all endpoints; approximate) |
| Cost | Free |
Safety
- Writes data: Yes. Updates the fields you send. Changes stay in HealOS and are not sent to your EHR.
- Safe to retry: Yes. Sending the same body again gives the same result.
- Contacts an outside system: None
- Dry run: Not available.
Path Parameters
Body
application/json
Was this page helpful?

