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

# Retrieve a template version

`GET /v1/templates/{template_id}/versions/{number}`

## Request

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

## Path parameters

- `number` string, required
- `template_id` string, required

## Response `200`

- TemplateVersion
  - `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
  - `is_live` boolean
  - `options` object
  - `schema` object, nullable
  - `sources` object
  - `template_id` string

## 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`: Version not found.
- `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)
