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

# Download Document File

`GET /documents/{document_id}/file`

Downloads the underlying document file. Note that this endpoint is implemented using a redirect which should be followed by the client for downloading directly from file storage. Clients that cannot follow a redirect can make the request with ?redirect=false and manually open the URL in `download_url` to trigger the download.

## Path parameters

- `document_id` string, required

## Query parameters

- `redirect` boolean

## Response `200`

OK

- unknown

## Other responses

- `400` — Bad Request

## Changes

> 10 revisions in range; 3 could not be searched.

- **2026-07-13** `03da9bc8e86b` — 1 info
  - api tag `accounts` added

[Change history](https://skmtc.dev/joinsophic/apis/sophic-engine-api/changes/documents/:document_id/file/get.md)

---

[API](https://skmtc.dev/joinsophic/apis/sophic-engine-api.md) · [All operations](https://skmtc.dev/joinsophic/apis/sophic-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/joinsophic/sophic-engine-api/revisions/5b4c43e2941b/schema)
