---
title: "Retrieve a template"
method: GET
path: "/v1/templates/{template_id}"
tags: ["Templates"]
---

# Retrieve a template

`GET /v1/templates/{template_id}`

## Request

- Base URL: `https://api-eu.dynamicdocumentapi.com`
- URL: `https://api-eu.dynamicdocumentapi.com/v1/templates/{template_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Path parameters

- `template_id` string, required

## Response `200`

- Template
  - `default_output` object
  - `engine` string
  - `folder` string, nullable
  - `id` string
  - `live_version` TemplateVersionSummary
    - `content_hash` string, nullable
    - `engine` string
    - `id` string
    - `note` string, nullable
    - `number` integer
    - `object` 'template_version'
    - `published_at` string, date-time, nullable
    - `published_by` string, nullable
  - `name` string
  - `object` 'template'
  - `settings` object
  - `tags` string[]
  - `thumbnail_url` string, nullable
  - `type` 'pdf_code' | 'pdf_markdown' | 'image_canvas' | 'docx' | 'pdf_form'
  - `updated_at` string, date-time, nullable

## Other responses

- `401`: Missing, invalid, expired or revoked credentials.
- `403`: Insufficient scope, IP not allowed, workspace suspended or scheduled for deletion, or email not verified.
- `404`: Template not found.
- `410`: Template deleted.
- `429`: Rate limited (`Retry-After`).

---

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