---
title: "Download File"
method: GET
path: "/unified/documents/files/{id}/download"
tags: ["Files"]
---

# Download File

`GET /unified/documents/files/{id}/download`

## Path parameters

- `id` string, required

## Query parameters

- `format` string, nullable
- `export_format` string, nullable

## Headers

- `x-account-id` string, required
- `x-stackone-api-session-token` string

## Response `200`

The file with the given identifiers was retrieved.

## Other responses

- `400` — Invalid request.
- `401` — Unauthorized access.
- `403` — Forbidden.
- `404` — Resource not found.
- `408` — The request has timed out.
- `409` — Conflict with current state.
- `412` — Precondition failed: linked account belongs to a disabled integration.
- `422` — Validation error.
- `429` — Too many requests.
- `500` — Server error while executing the request.
- `501` — This functionality is not implemented.
- `502` — Bad gateway error.

---

[API](https://skmtc.dev/stackone/apis/documents.md) · [All operations](https://skmtc.dev/stackone/apis/documents/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stackone/documents/revisions/8fa868abb92d/schema)
