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 (provider field)
Why two IDs? Different operations work in different contexts. Provider management (updating status, hours) modifies Cobalt’s cached configuration, while appointment creation communicates directly with your EMR. Cobalt uses its own IDs to manage provider settings independently of EMR constraints, then maps to EMR IDs when interacting with your EMR system.