---
title: "Get an email template"
method: GET
path: "/api/v2/email-templates/{template_id}"
tags: ["Email Templates"]
---

# Get an email template

`GET /api/v2/email-templates/{template_id}`

Returns a single email template by ID.

## Path parameters

- `template_id` string, required

## Headers

- `X-API-KEY` string, nullable
- `Authorization` string, nullable
- `X-Workspace-Id` string, nullable

## Response `200`

Successful Response

- SingleResponseEmailTemplateResponse
  - `data` EmailTemplateResponse, required — A single email template used for candidate communications. Templates define the subject line and HTML body for emails sent at various stages of the interview workflow (invitations, nudges, etc.).
    - `object` 'email_template' — Object type identifier.
    - `id` string, required — Unique email template identifier.
    - `template_key` string, required — Template key indicating the email type: 'WEB_INTERVIEW_INVITATION', 'WEB_INTERVIEW_NUDGE', 'RESUME_INVITATION', 'RESUME_NUDGE', 'FORM_INVITATION', 'FORM_NUDGE', 'WEB_INTERVIEW_FINAL_NUDGE', 'SCHEDULING_LINK_EMAIL', 'REPORT_READY_EMAIL'.
    - `name` string, required — Human-readable template name.
    - `subject` string, required — Email subject line. Supports {{variable}} placeholders.
    - `content` string, required — Email HTML body. Supports {{variable}} placeholders.
    - `blackout_period` BlackoutPeriod — Time window during which emails will not be sent.
      - `enabled` boolean, required — Whether the blackout period is active.
      - `timezone` string, required — IANA timezone identifier.
      - `start_hour` integer, required — Start hour of the blackout window (0-23).
      - `end_hour` integer, required — End hour of the blackout window (0-24, where 24 = midnight).
    - `created_at` number, required — Unix timestamp when the template was created.
    - `updated_at` number, required — Unix timestamp when the template was last updated.
  - `meta` object, nullable — Optional metadata. Shape varies by endpoint.

## Other responses

- `401` — Invalid or missing API key.
- `404` — Email template not found.
- `422` — Validation Error
- `429` — Rate limit exceeded.

---

[API](https://skmtc.net/heymilo/apis/heymilo-public-api.md) · [All operations](https://skmtc.net/heymilo/apis/heymilo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/heymilo/heymilo-public-api/revisions/5e07b657706b/schema)
