---
title: "Download file"
method: GET
path: "/files/{file_id}/content"
tags: ["Downloads"]
---

# Download file

`GET /files/{file_id}/content`

Returns the contents of a file in binary format.

## Path parameters

- `file_id` string, required

## Query parameters

- `version` string
- `access_token` string

## Headers

- `range` string
- `boxapi` string

## Response `200`

Returns the requested file if the client has the **follow
redirects** setting enabled to automatically
follow HTTP `3xx` responses as redirects. If not, the request
will return `302` instead.
For details, see
the [download file guide](https://developer.box.com/guides/downloads/file#download-url).

## Other responses

- `202` — If the file is not ready to be downloaded yet `Retry-After` header will be returned indicating the time in seconds after which the file will be available for the client to download. This response can occur when the file was uploaded immediately before the download request.
- `302` — If the file is available for download the response will include a `Location` header for the file on `dl.boxcloud.com`. The `dl.boxcloud.com` URL is not persistent and clients will need to follow the redirect to actually download the file.
- `default` — An unexpected client error.

---

[API](https://skmtc.net/box/apis/platform-api.md) · [All operations](https://skmtc.net/box/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/box/platform-api/revisions/ba8f087e1a4d/schema)
