---
title: "Update an email template"
method: PATCH
path: "/email_templates/{id}"
tags: ["Email Templates"]
---

# Update an email template

`PATCH /email_templates/{id}`

Updates one or more fields of the specified email template and returns the updated template.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateEmailTemplateRequest
  - `html_body` string, nullable — Liquid template HTML body.
  - `name` string
  - `subject` string, nullable — Liquid template subject.
  - `text_body` string, nullable — Liquid template text body.
  - `variables` string[]

## Response `200`

Template updated.

- EmailTemplateResponse
  - `data` EmailTemplate, required
    - `created_at` string, date-time, required
    - `html_body` string, nullable, required
    - `id` string, uuid, required
    - `name` string, required
    - `record_type` 'email_template', required
    - `subject` string, nullable, required
    - `text_body` string, nullable, required
    - `updated_at` string, date-time, required
    - `variables` string[], required

## Other responses

- `401` — Not authorized (10006).
- `404` — Resource not found (10001).
- `422` — Validation Failed (10015) or changeset validation error.

## Changes

- **2026-07-16** `2fb3b617430a` — 6 warning, 3 info
  - added the new `recipient_suppressed` enum value to the `errors/items/code` response property for the response status `401`
  - added the new `recipient_suppressed` enum value to the `errors/items/code` response property for the response status `404`
  - added the new `recipient_suppressed` enum value to the `errors/items/code` response property for the response status `422`
  - added the new `reputation_suspended` enum value to the `errors/items/code` response property for the response status `401`
  - …5 more
- **2026-07-12** `b3c5aebde44c` — 6 warning
  - added the new `10027` enum value to the `errors/items/code` response property for the response status `401`
  - added the new `10027` enum value to the `errors/items/code` response property for the response status `404`
  - added the new `10027` enum value to the `errors/items/code` response property for the response status `422`
  - added the new `10036` enum value to the `errors/items/code` response property for the response status `401`
  - …2 more
- **2026-07-07** `6ef0ae248bf7` — 1 info
  - endpoint added
- **2026-07-02** `224ed0d8a5c3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/email_templates/:id/patch.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/3fdc16374d70/schema)
