---
title: "Download a file"
method: GET
path: "/v4/files/{fileName}"
tags: ["Files"]
---

# Download a file

`GET /v4/files/{fileName}`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v4/files/{fileName}`
- Auth: API key in header `x-api-key`

Downloads a specific file from the storage

## Path parameters

- `fileName` string, required

## Response `200`

File content

## Other responses

- `400`: Bad request - File name is required or invalid
- `401`: Unauthorized - Authentication required
- `403`: Forbidden - Insufficient permissions
- `404`: File not found
- `500`: Internal server error

---

[API](https://skmtc.dev/kadoa/apis/kadoa-api.md) · [All operations](https://skmtc.dev/kadoa/apis/kadoa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kadoa/apis/kadoa-api/revisions/bf7803c927b4?raw)
