---
title: "Get Email Template"
method: GET
path: "/v1/email/templates/{name}"
tags: ["Email"]
---

# Get Email Template

`GET /v1/email/templates/{name}`

## Request

- Base URL: `https://api.bluehive.com`
- URL: `https://api.bluehive.com/v1/email/templates/{name}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bluehive-health/apis/bluehive-api/docs/v1/email/templates/:name/get.ts> (a function with typed inputs; its response is checked against the schema)

Get detailed schema for a specific email template. Internal use only.

## Path parameters

- `name` string, required

## Response `200`

Default Response

- object
  - `name` string, required: Template identifier
  - `description` string, required: Human-readable description
  - `file` string, required: Template file path
  - `variables` object[], required: Variable definitions with descriptions
    - `name` string, required
    - `description` string, required
    - `required` boolean, required

## Other responses

- `401`: Default Response
- `403`: Default Response
- `404`: Default Response

## Changes

- **2026-10-16** `a8bcbdf02e33`: 1 breaking, 1 info
  - removed the required property `tags` from the response with the `200` status
  - removed the pattern `^[a-z0-9_-]+$` from the `path` request parameter `name`
- **2026-04-09** `705e8d3693ee`: 1 breaking, 1 warning, 1 info
  - added the pattern `^[a-z0-9_-]+$` to the `path` request parameter `name`
  - for the `path` request parameter `name`, the maxLength was set to `100`
  - added the required property `tags` to the response with the `200` status
- **2026-02-18** `efcb45ec0e67`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bluehive-health/apis/bluehive-api/changes/v1/email/templates/:name/get.md)

---

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