Skip to main content
POST
Link Fax To Patient

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

fax_id
string
required

Body

application/json

Body for POST /faxes/{fax_id}/link-patient.

Files an inbound fax into a patient's chart: creates a Document that references the fax's own PDF (no copy) and carries source_fax_id. The fax↔patient link is derived from that filed Document, not stored on the fax row.

patientId
string
required
Minimum string length: 1
title
string | null
Maximum string length: 255
docType
string | null
Maximum string length: 255

Response

Successful Response

Result of link-patient / unlink-patient: the updated fax plus the chart document the action created, moved, or archived.

Returning both lets the client patch the fax detail cache and the patient's chart document list straight from the response — no refetch — the same way send-fax and the fax-contact mutations update their caches. affected_document is null only on the idempotent unlink-when-nothing-was-filed path, where no document changed.

fax
FaxResponse · object
required
affectedDocument
DocumentSummary · object | null