Fetch Appointments
Performs a live fetch of appointment data from the connected EMR system by date range, patient MRN, or provider.
Search Modes
Date Range (default)
Fetches appointments for a date range (max 7 days). Results are synced to the database and returned via webhook.MRN
Fetches all appointments for a specific patient by MRN, enriched withcreated_at and created_by timestamps.
Provider
Fetches appointments for one or more providers in a single EMR call. Results are synced to the database (scoped to the requested providers) and returned via webhook.provider_ids: required array of EMR provider IDs (max 10)- 1 provider:
end_datemay be up to 5 days afterstart_date - 2-10 providers:
start_datemust equalend_date
Webhook Notifications
When the appointment fetch is complete, we will send a webhook to your registered endpoint.Date Range Webhook
MRN Webhook
Provider Webhook
Each appointment uses the same shape as the Date Range Webhook above.Authorizations
Body
Search mode. Use date_range (default) to fetch by date range, mrn to fetch by patient MRN with appointment audit logs, or provider to fetch appointments scoped to one or more EMR providers.
date_range, mrn, provider Start date for the appointment range in ISO 8601 format (YYYY-MM-DD). Required when search_by is date_range or provider.
End date for the appointment range in ISO 8601 format (YYYY-MM-DD). For date_range, maximum range is 7 days. For provider, the range may be up to 5 days after start_date when exactly 1 provider is supplied; when 2-10 providers are supplied, end_date must equal start_date. Required when search_by is date_range or provider.
Patient Medical Record Number. Required when search_by is mrn.
Array of EMR provider IDs to fetch appointments for (max 10). Required when search_by is provider.
1 - 10 elements