---
title: "Show/download stored file"
method: GET
path: "/documents/{document}/file-storage/{storedFile}"
tags: ["Document Operations"]
---

# Show/download stored file

`GET /documents/{document}/file-storage/{storedFile}`

<small>Requires an API token with the **Document Reader** role.</small>

Returns the details of a single file in the file storage of the given [document](/#documents).

The `download_url` field of the response contains a temporary URL that can be used to fetch the file content. The
URL is pre-authenticated - i.e. it can be requested without sending any additional HTTP headers.

Note that the `download_url` will expire a short time after the response is returned. If the URL has expired,
this endpoint can be requested again to obtain a new `download_url`.

## Path parameters

- `document` string, required
- `storedFile` string, required

## Response `200`

`StoredFileResource`

- object
  - `data` StoredFileResource, required
    - `uuid` string, required — UUID of the uploaded file.
    - `sha256` string, required — SHA256 hash of the uploaded file.
    - `file_name` string, required — Name of the uploaded file.
    - `file_size` integer, required — Size of the uploaded file in bytes.
    - `mime_type` string, required — MIME type of the uploaded file.
    - `download_url` string, required — The file can be downloaded from this URL. Note that this URL will expire after a short time

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `404` — Not found

---

[API](https://skmtc.dev/fynk/apis/fynk-api-reference.md) · [All operations](https://skmtc.dev/fynk/apis/fynk-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fynk/fynk-api-reference/revisions/9657a6757f59/schema)
