---
title: "Download file"
method: GET
path: "/v1/files/{id}"
tags: ["Files"]
---

# Download file

`GET /v1/files/{id}`

Downloads a file.


## Scopes

| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |

## Path parameters

- `id` string, required

## Response `200`

Success

- DownloadFileResponse — Response containing the file's metadata and its base64-encoded content for download.
  - `data` object, required
    - `file` object, required
      - `content` string, binary, required
      - `id` string, required
      - `inserted_at` string, date-time, required — UTC date time in [ISO 8601][] format. [ISO 8601]: https://en.wikipedia.org/wiki/ISO_8601
      - `name` string, required
      - `sub_type` string, nullable
      - `type` string, required

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/remote-com/apis/remote.md) · [All operations](https://skmtc.net/remote-com/apis/remote/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/remote-com/remote/revisions/7e6a0c61ac82/schema)
