Tross
EZDERM

Upload Document

Upload document in EZDerm

POSThttps://api.ontross.com/api/integrations/ezderm/upload-document
Request Fields
input
object
required
input.patient_id
string
required
EZDerm patient UUID
input.folder_path
string
required
Exact existing relative folder path
input.visible_for_patient
boolean
Whether the patient can view the document
Default
false
auth_id
string
required
Saved EZDerm authentication ID
files
array
required
Select exactly one document to upload (maximum 50 MiB)
Output Fields
file_id
string
File id
patient_id
string
Patient id
folder_id
string
Folder id
folder_path
string
Folder path
filename
string
Filename
mime_type
string
Mime type
size
integer
Size
visible_for_patient
boolean
Visible for patient
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/ezderm/upload-document \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patient_id":"00000000-0000-4000-8000-000000000000","folder_path":"Records/Your Folder","visible_for_patient":false},"auth_id":"auth_uuid_here","files":["<select exactly one document>"]}'
Request BODY
{
  "input": {
    "patient_id": "00000000-0000-4000-8000-000000000000",
    "folder_path": "Records/Your Folder",
    "visible_for_patient": false
  },
  "auth_id": "auth_uuid_here",
  "files": [
    "<select exactly one document>"
  ]
}