Skip to main content
POST
Bind a contact as a medical facility

Authorizations

x-api-key
string
header
required

Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.

Headers

X-Idempotency-Key
string
required

Stable caller-chosen key (max 200 chars) making the mutation safely retryable.

Maximum string length: 200

Path Parameters

caseId
string
required

Case id

Query Parameters

organizationId
string<uuid>

Select one organization for this request. Defaults to the key organization. An HQ key may select an active descendant when its active acting attorney has the required HQ and resource permissions. Repeat the same organizationId on related mutations, upload completion, detail requests, and every cursor page. See /authorization.

Body

application/json
contactId
string
required
Required string length: 1 - 200
facilityType
enum<string> | null
Available options:
hospital,
clinic,
imaging_center,
physical_therapy,
pharmacy,
laboratory,
specialist_office,
emergency_room,
urgent_care,
chiropractor,
other,
null
recordsNeeded
boolean
default:false
billsNeeded
boolean
default:false
recordsDepartmentInfo
object | null
billingDepartmentInfo
object | null
sourceRecordId
string
Required string length: 1 - 200

Response

{ success: true, facility }

success
boolean
required
{key}
any