A comprehensive guide to the headless automation and remote control capabilities of the DICOM Toolbox REST API Server.
Secure all REST API endpoints using a configurable X-API-Key header. Toggleable granular
access control ensures only authorised scripts and users can execute commands against the server.
X-API-Key: YOUR_SECRET_KEY in the headers of
your cURL or Postman requests to authenticate.
Trigger DICOM C-ECHO (Ping), Modality Worklist (MWL) Queries, and C-STORE (Send) operations remotely by posting JSON payloads. No need to click buttons in the UI.
/api/v1/network/store with a JSON body specifying the target AE Title, IP,
Port, and a list of local file paths. The toolbox will send them in the background.
Programmatically strip PHI and PID from DICOM files, or inject/modify specific DICOM tags (e.g., Patient Name, Study Date) via REST endpoints.
/api/v1/files/anonymize with a directory path. The toolbox will process
hundreds of files using your pre-configured anonymisation profile automatically.
Control the application's physical user interface from a script. Load files into the workspace, clear the screen, exclude files, and get a JSON listing of everything currently loaded in the UI.
/api/v1/ui/load. Watch the DICOM Toolbox UI on your monitor
automatically populate with the DICOM files you just sent via API.
Leverage the toolbox's HL7 engine from your own applications. Send raw HL7 text to the API, and the toolbox will route it via MLLP, or validate its schema compliance.
/api/v1/hl7/send, and the toolbox handles the complex MLLP transmission and returns the
ACK.
Extract clinical text from Structured Reports (SR) or inject a standard PDF document into a valid DICOM wrapper (Encapsulated PDF) purely via API calls.
/api/v1/ui/insert-pdf. The
toolbox generates a DICOM file containing your PDF, ready to be sent to a PACS.
Check the heartbeat of the toolbox. Returns a JSON payload detailing uptime, active feature toggles, version info, and total requests served.
/api/v1/status. Integrate this with your IT monitoring dashboard (like Datadog or
PRTG) to ensure the DICOM Toolbox API is online and responding.
Every REST API request is intercepted and logged into the GUI traffic console, displaying the HTTP Method, Endpoint, Client IP, Status Code, and processing time in milliseconds.