Skip to main content

Upload a Case File

POST /api/public/case/:caseId/file/upload The endpoint accepts one file as multipart/form-data. VisaFlo stores it in a virtual api folder on the case, creating that folder when needed.
The maximum upload size is 50 MB per request.

Retrieve Case Files

GET /api/public/case/download-files/:caseId Use the VisaFlo case ID returned from case creation or case search. Confirm the ID before downloading files; do not substitute the human-readable case number.

Form Generation and Autofill

Treat form generation as asynchronous. Start the work, then poll the status endpoint from your server until the result reaches a terminal state. Avoid rapid polling; use a backoff interval.
For document intake, search for the case first, then upload with its caseId. This avoids attaching a file to the wrong matter when your source system only has a file number or client email.