> ## Documentation Index
> Fetch the complete documentation index at: https://visaflo.ca/knowledge-base/llms.txt
> Use this file to discover all available pages before exploring further.

# Download case files

> Retrieve the files associated with a VisaFlo case.

`GET https://api.visaflo.app/api/public/case/download-files/:caseId`

Use the VisaFlo `caseId`, not the human-readable case number.

```bash theme={null}
curl "https://api.visaflo.app/api/public/case/download-files/VFLO_CASE_ID" \
  -H "X-API-Key: YOUR_API_KEY"
```

The response is JSON and is scoped to the API key's workspace. Confirm the case with [Get a case](/knowledge-base/developers/endpoints/get-case) before retrieving documents from an external automation.
