---
title: "Get one document template"
method: GET
path: "/documents/{id}"
---

# Get one document template

`GET /documents/{id}`

## Request

- Base URL: `https://rendry.io/api/v1`
- URL: `https://rendry.io/api/v1/documents/{id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, required

## Headers

- `X-Rendry-Account` string

## Response `200`

OK

- DocumentTemplate: A stored document as POST, GET and PUT /documents/{id} return it. Pages carry their own content: a page sent as {preset_id} is copied in at save time (see DocumentPageRef). GET /documents lists DocumentOverview rows instead, where `pages` is a count.
  - `id` string
  - `user_id` string
  - `name` string, required
  - `pages` DocumentPageRef[], required (unresolved $ref)
  - `master` object[]: Layers under EVERY page: logo, footer, page number ({page}/{pages} are filled in)

## Other responses

- `404`: Not found

---

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