---
title: "Download the file of an EDMS document (subject to change)"
method: GET
path: "/projects/{projectId}/items/documents/{documentId}/content"
tags: ["Documents", "Preview"]
---

# Download the file of an EDMS document (subject to change)

`GET /projects/{projectId}/items/documents/{documentId}/content`

## Request

- Base URL: `https://app.ketryx.com/api/v1`
- URL: `https://app.ketryx.com/api/v1/projects/{projectId}/items/documents/{documentId}/content`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/ketryx/apis/ketryx-api/docs/projects/:projectId/items/documents/:documentId/content/get.ts> (a function with typed inputs; its response is checked against the schema)

Serves the file backing a document record. Documents whose content is hidden are not accessible through the API.

## Response `200`

File contents in binary format

## Other responses

- `400`: The request is not valid.
- `401`: The requester is not authenticated.
- `403`: The requester is unauthorized.
- `404`: The resource was not found.

---

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