---
title: "Single template."
method: GET
path: "/template/{id}"
tags: ["template"]
---

# Single template.

`GET /template/{id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/template/{id}`
- Auth: none declared

Retrive a single template by id

## Path parameters

- `id` string, long, required

## Response `200`

template was retrieved successfully.

- Template
  - `id` string, long
  - `title` string
  - `content` string

## Other responses

- `404`: No template found

## Changes

- **2021-01-26** `0ba0e4f05050`: 1 warning
  - removed the optional property `active` from the response with the `200` status
- **2021-01-26** `b3aae77bebcc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-banner-service/changes/template/:id/get.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-banner-service.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-banner-service/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-banner-service/revisions/d00878b65739?raw)
