job_id
for tracking. Results are delivered via webhook.
Insurance Provider Resolution
The API supports three methods for identifying the insurance provider (in order of priority):-
By Cobalt Provider ID (Most specific, recommended):
-
By Name + Payer ID (Most specific when ID not available):
-
By Name Only (Least specific, may match first result if multiple exist):
Use
GET /v1/insurance-providers
to retrieve the correct insurance provider identifiers for your organization.Validation Rules
Address Validation
- State: Must be a valid two-letter US state abbreviation (accepts lowercase, e.g., “ca” or “CA”)
- ZIP Code: Must be either 5 digits (e.g., “90001”) or 9 digits with hyphen (e.g., “90001-1234”)
Date Validation
- plan_begin_date: Must be in YYYY-MM-DD format (e.g., “2025-01-15”)
Relationship to Subscriber
Accepts both codes and names (case-insensitive):- Codes: “01”, “02”, “32”, “33”, “17”, “20”, “53”, “25”
- Names: “self”, “spouse”, “mother”, “father”, “step parent”, “employee”, “life partner”, “other”
Insurance Provider Validation
insurance_payer_id
alone is not supported (must be combined withinsurance_name
)- If provider ID, name, or name+payer_id combination is not found, returns 404 with helpful message
Example Requests
Minimal Request (Using Insurance Provider ID)
Complete Request (Using Insurance Name + Payer ID)
Self-Insured Patient with 9-Digit ZIP
Example Response
Webhook Events
After the insurance addition is processed, a webhook event will be sent to your configured webhook URL.Success Event (patient.insurance.added)
The
audit_trail
array shows all fields that were modified in the EMR. When EMR corrections occur (e.g., name mismatch dialogs), an attempted
field shows the originally submitted value, and a note
explains the correction.Failure Event (patient.insurance.failed)
Insurance addition is asynchronous. Store the returned
patient_insurance_id
and job_id
, then listen for webhooks to determine the final status.Authorizations
Path Parameters
The Medical Record Number (MRN) of the patient in the EMR system
Body
application/json
Insurance member ID
Insurance group ID
Plan start date in YYYY-MM-DD format (e.g., "2025-01-15")
Cobalt insurance provider ID (Priority 1, most specific). Use GET /v1/insurance-providers to retrieve valid IDs.
Insurance provider name (can be combined with insurance_payer_id)
Insurance payer ID (must be combined with insurance_name, cannot be used alone)
Copayment amount in dollars (e.g., 25)
Required range:
x >= 0
Patient's relationship to subscriber. Accepts either code or name (case-insensitive)
Available options:
01
, 02
, 32
, 33
, 17
, 20
, 53
, 25
, self
, spouse
, mother
, father
, step parent
, employee
, life partner
, other