This is a slow operation that fetches up-to-date appointment data directly from the EMR system. If the newest data is not critical, consider using the GET /appointments endpoint instead for faster results from cached data.
Webhook Notifications
When the appointment fetch is complete, we will send a webhook to your registered endpoint. Here is an example of what the webhook payload will look like:
{
"id": "evt_1J9X2q2eZvKYlo2Cmnopqr",
"user_id": "user_1J9X2q2eZvKYlo2Cstuv",
"job_execution_id": "job_1J9X2q2eZvKYlo2Cmnopqr",
"timestamp": "2023-10-28T11:00:00Z",
"type": "appointment.live_fetch_completed",
"action": "sync",
"data": {
"success": true,
"appointment_count": 42,
"start_date": "2025-01-01",
"end_date": "2025-01-31",
"appointments": [
{
"id": "appt_123",
"patient_id": "pat_456",
"date_time": "2025-01-15T10:00:00Z",
"provider_id": "prov_789"
}
]
}
}
Start date for the appointment range in ISO 8601 format (YYYY-MM-DD).
End date for the appointment range in ISO 8601 format (YYYY-MM-DD). Maximum range is 7 days.
Request accepted for processing