---
title: "Get File Contents"
method: GET
path: "/files/{file_id}/contents"
---

# Get File Contents

`GET /files/{file_id}/contents`

Download the contents of a File. Responds with a 307 redirect whose `Location` header points at a short-lived, pre-signed URL. Our [SDKs](/documentation/software-development-kits) follow the redirect and return the File's contents; if you call the API directly, follow the redirect to download it. The pre-signed URL serves the File with a `Content-Type` matching its `mime` and a `Content-Disposition` header set to its `filename`. It expires in 10 minutes. To share a File with someone who doesn't have access to your API key, create a File Link.

## Path parameters

- `file_id` string, required — The identifier of the File.

## Response `200`

Binary File

## Other responses

- `4XX` — Error
- `5XX` — Error

---

[API](https://skmtc.net/increase/apis/increase-api-2.md) · [All operations](https://skmtc.net/increase/apis/increase-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/increase/increase-api-2/versions/e968bcd4dcf9/schema)
