---
title: "Download Document File"
method: GET
path: "/documents/{documentKey}/file"
tags: ["Documents"]
---

# Download Document File

`GET /documents/{documentKey}/file`

## Request

- Base URL: `https://eu-west-1.api.silverflow.com/v1`
- URL: `https://eu-west-1.api.silverflow.com/v1/documents/{documentKey}/file`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/silverflow/apis/silverflow-api/docs/documents/:documentKey/file/get.ts> (a function with typed inputs; its response is checked against the schema)

This operation downloads the file for the specified key.

Requires `disputes:DownloadFile` or `documents:Download` permission.

## Path parameters

- `documentKey` string, required: Uniquely identifies a document

## Response `200`

The content of the file.

## Other responses

- `401`: Authentication information is missing or invalid
- `403`: The authenticated client is forbidden to make the request for the resource identified.
- `404`: The requested resource was not found
- `429`: The number of requests (per minute) has exceeded the configured maximum

---

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