---
title: "Download file"
method: GET
path: "/v1/files/{file_id}/download"
tags: ["File API"]
---

# Download file

`GET /v1/files/{file_id}/download`

## Request

- Base URL: `https://api.writer.com`
- URL: `https://api.writer.com/v1/files/{file_id}/download`
- Auth: HTTP bearer

Download the binary content of a file. The response will contain the file data in the appropriate MIME type.

## Path parameters

- `file_id` string, required

## Response `200`

File download successful

## Changes

- **2024-08-14** `29d74057f627`: 1 breaking, 1 info
  - removed the media type `File contents` for the response with the status `200`
  - added the media type `application/octet-stream` for the response with the status `200`
- **2024-08-14** `b0de8fe3df00`: 1 breaking, 1 info
  - removed the media type `application/octet-stream` for the response with the status `200`
  - added the media type `File contents` for the response with the status `200`
- **2024-08-08** `4a89aa730a0c`: 1 breaking, 1 info
  - removed the media type `File contents` for the response with the status `200`
  - added the media type `application/octet-stream` for the response with the status `200`

[Operation history](https://skmtc.dev/writer/apis/writer-api/changes/v1/files/:file_id/download/get.md)

---

[API](https://skmtc.dev/writer/apis/writer-api.md) - [All operations](https://skmtc.dev/writer/apis/writer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/writer/apis/writer-api/revisions/59865afc5779?raw)
