---
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

---

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