---
title: "Download document file"
method: GET
path: "/documents/{id}/download"
tags: ["Documents"]
---

# Download document file

`GET /documents/{id}/download`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/documents/{id}/download`
- Auth: HTTP bearer

Streams the file bytes with appropriate Content-Type / Content-Disposition. Refuses a file that is still being scanned or whose scan failed (409) and a file the malware scan flagged (403).

## Path parameters

- `id` integer, required

## Response `200`

File bytes

## Other responses

- `403`: Error
- `404`: Error
- `409`: Error

---

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