Skip to main content
POST
Upload Document
Documents are processed asynchronously. You’ll receive a webhook notification when the upload is complete or if there was an error.

Example Request

Example Response

Example Success Webhook

Example Failure Webhook

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Body

multipart/form-data
folder_name
string
required

The name of the folder where the document will be stored. Supports nested folders using forward slashes (e.g., 'MedicalRecords/LabResults').

patient_mrn
string
required

The medical record number of the patient.

document
file
required

The document file to be uploaded. Only PDF, JPEG, and PNG files are allowed. Maximum file size is 10MB.

emr_assigned_to_id
string

The EMR staff ID to assign the document to. Must match a staff member in your organization's staff list.

is_reviewed
boolean

Mark the document as reviewed. Defaults to false.

notes
string

Description or notes for the document. Maximum 1000 characters.

is_high_priority
boolean

Mark the document as high priority. Defaults to false.

template_name
string

The template name to use when filling out the document upload form.

location_id
string

The EMR ID of the location/facility to associate with the document. Must match a location returned by GET /locations.

tags
string[]

Zero or more tag names to apply to the document. Repeat the field in multipart form data to send multiple tags.

Response

200 - application/json

Successful response

success
boolean
message
string
document_id
string