Fetch Appointments
Appointments
Fetch Appointments
Performs a live fetch of appointment data from the connected EMR system by date range or patient MRN.
POST
Fetch Appointments
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.
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.
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.
Webhook Notifications
When the appointment fetch is complete, we will send a webhook to your registered endpoint.Date Range Webhook
MRN Webhook
Authorizations
Body
application/json
Search mode. Use date_range (default) to fetch by date range, or mrn to fetch by patient MRN with appointment audit logs.
Available options:
date_range, mrn Start date for the appointment range in ISO 8601 format (YYYY-MM-DD). Required when search_by is date_range.
End date for the appointment range in ISO 8601 format (YYYY-MM-DD). Maximum range is 7 days. Required when search_by is date_range.
Patient Medical Record Number. Required when search_by is mrn.