v1
latestOpenAPI 3.1.02026-07-2218105157.9 KBPatients
Upsert Patient (forgiving)
Forgiving upsert for integration partners. Normalizes phone / email / date_of_birth and silently drops unparseable values (reported via dropped_fields). Matches existing patients in priority: external_id → demographics → phone + fuzzy name → email + fuzzy name. Overwrites all provided non-null fields on match (except phone_number once first communication has occurred — that lock is respected and the field is silently dropped). When external_id is supplied, the returned patient is guaranteed to carry it: a pre-existing different value for that type is overwritten and the old→new transition is recorded in the patient activity log (visible in the History panel).
post/v1/patients/upsert
Request body
Response
Successful Response
Example response
{
"patient": {
"payors": [
{
"services": [
{
"copay_in_network": 25,
"created_at": "2024-01-15T10:30:00Z",
"eligibility_check_status": "ELIGIBLE",
"id": "550e8400-e29b-41d4-a716-446655440014",
"payor_id": "550e8400-e29b-41d4-a716-446655440012",
"service_type": "PT",
"updated_at": "2024-01-15T10:30:00Z",
"verification_benefits_status": "VERIFIED"
}
]
}
]
}
}