---
title: "Get template by ID."
method: GET
path: "/v3/templates/{id}"
tags: ["templates"]
---

# Get template by ID.

`GET /v3/templates/{id}`

Get template by ID.

## Path parameters

- `id` string, required

## Query parameters

- `projectId` string

## Response `200`

Default Response

- object
  - `data` object
    - `id` string
    - `name` string
    - `displayMode` 'email' | 'web' | 'document'
    - `design` object
    - `html` string, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response

## Changes

- **2026-02-20** `14707e371ca6` — 1 info
  - the `query` request parameter `projectId` became optional
- **2026-02-16** `e77bc881d5cb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/unlayer/apis/unlayer-api/changes/v3/templates/:id/get.md)

---

[API](https://skmtc.dev/unlayer/apis/unlayer-api.md) · [All operations](https://skmtc.dev/unlayer/apis/unlayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unlayer/unlayer-api/revisions/48f00d1c04c2/schema)
