Get Providers
Providers
Get Providers
Returns a list of providers associated with a clinic.
GET
Get Providers
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.
Understanding Provider IDs
Each provider has two identifiers:-
id: Cobalt’s internal identifier (32-character UUID without hyphens)- Use when updating provider settings like status or hours
- Operations:
PATCH /v1/providers/{id}
-
ehr_id: Your EMR system’s provider identifier- Use when creating appointments or other EMR operations
- Operations:
POST /v1/appointments(providerfield)
Quick Reference:
- Updating provider settings → Use
id - Creating appointments → Use
ehr_id
Example Request
Example Response
Response Parameters
Provider Fields
- id: Cobalt’s internal provider identifier (used for updating provider settings)
- ehr_id: EMR system’s provider identifier (used for creating appointments)
- timezone: Provider’s timezone
- npi: National Provider Identifier
- name: Provider’s name
- status: Provider status (
activeorinactive)active: Provider’s schedule will be synced from the EMRinactive: Provider’s schedule will not be synced
- hide_in_availability: Whether provider is hidden from availability results (boolean, defaults to
false)false: Provider appears in/v1/availabilityendpoint results (default behavior)true: Provider’s schedule is synced but hidden from availability results- Use case: Set to
truewhen you want to continue syncing a provider’s schedule (for reporting/historical purposes) but don’t want them to appear as available for new appointments - Important: For a provider to appear in availability, BOTH conditions must be true:
activemust betrue(schedule is being synced)hide_in_availabilitymust befalse(not explicitly hidden)
Schedule Structure
- Day: Specifies which day of the week the schedule applies to
- Shifts: Array of work periods with:
- Start/end times using 24-hour format. Times are in the clinic’s eCW instance’s timezone.
- Facility information (name and ID)
- Date range when the schedule is active (start date and optional end date. If there is no end date then the shift is active indefinitely).
- Visit Type Rules (optional):
- Pre-allocated slots for specific appointment types
- Each slot has its own start/end times
- Includes description and total allowed appointments
- Recurrence (optional):
- Defines repeating patterns (e.g., “every 2 weeks”)
- Contains start date and interval information
- Allows for schedules that don’t occur every week