---
title: "List document templates"
method: GET
path: "/v{version}/document-templates"
tags: ["DocumentTemplates"]
---

# List document templates

`GET /v{version}/document-templates`

## Request

- Base URL: `https://api.pdfless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pdfless.com/v{version}/document-templates`
- Auth: API key in header `apikey`

List document templates of current workspace

## Path parameters

- `version` string, required

## Query parameters

- `Page` integer
- `PageSize` integer

## Response `200`

Success

- DocumentTemplateDto[]
  - `id` string, uuid: Template identifier
  - `name` string: Template name
  - `imagePreviewUrl` string: Image preview of document template
  - `pdfPreviewUrl` string: PDF preview of document template
  - `created` string, date-time: Creation date
  - `modified` string, date-time: Modification date

## Other responses

- `500`: Server Error

---

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