---
title: "Returns the content of the current version of the document with the specified id."
method: GET
path: "/documents/{documentId}/content"
tags: ["documents"]
---

# Returns the content of the current version of the document with the specified id.

`GET /documents/{documentId}/content`

<Check title="Required Permissions" icon="key">The user must have at least `read` permissions for the specified document.</Check>

## Path parameters

- `documentId` string, uuid, required

## Query parameters

- `streamAsFile` boolean
- `format` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

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