---
title: "Get Document"
method: GET
path: "/documents/get-document"
tags: ["Documents"]
---

# Get Document

`GET /documents/get-document`

Get the document. The content will be the binary PDF/DOCX content, or be UTF-8-encoded content if it is text.

A `404 Not Found` status code will be returned, if the provided request parameters do not exist.

Note that if `/documents/update-document` returns a new document id, then all urls will be invalidated and must be retrieved again.

The HTTP cache policy on this endpoint is set to never expire, unlike other endpoints whose HTTP headers assert no-cache.

## Query parameters

- `token` string, required — The document token

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not Found
- `422` — Validation Error

## Changes

- **2026-01-21** `b5badb138367` — 1 info
  - endpoint added
- **2025-07-08** `bd2f55f423e0` — 1 breaking
  - api path removed without deprecation
- **2025-06-03** `6d4d2509d6d6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zeroentropy-ai/apis/zeroentropy-api/changes/documents/get-document/get.md)

---

[API](https://skmtc.dev/zeroentropy-ai/apis/zeroentropy-api.md) · [All operations](https://skmtc.dev/zeroentropy-ai/apis/zeroentropy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zeroentropy-ai/zeroentropy-api/revisions/5ff1b24060b9/schema)
