Uploading Evidence
This guide covers everything about uploading files to a case: file categories, auto-linking to vehicles, supported types, and best practices.
How It Works
Every file is uploaded individually via POST /api/files/upload as multipart form-data. You pass:
case_id(required) — which case this file belongs tofile_category— what type of file it isvehicle_role— which vehicle it belongs to (plaintiffordefendant)
The API automatically links files to the correct vehicle based on vehicle_role. No separate linking step is needed.