---
title: "Update an email template"
method: PUT
path: "/feedback/email-templates/{template_id}"
tags: ["Feedback Management"]
---

# Update an email template

`PUT /feedback/email-templates/{template_id}`

<Warning>
The Feedback Management API is currently in **BETA**, therefore the following endpoints are subject to modification, given a **2 week notice**.

If you are planning to use any of them, please **notify us** so we will be able to keep you informed about upcoming changes.
</Warning>

Updates an existing feedback email template belonging to the authenticated user's organization.

All fields are optional — only the fields present in the request body are updated.

When the resulting `cta_type` is `BUTTON` (either newly set or already stored), `cta_text` must be non-null.

## Path parameters

- `template_id` number, required

## Request body

- FeedbackEmailTemplateUpdate
  - `name` string — Internal name for the template
  - `subject` string — Email subject line
  - `title` string — Title displayed in the email body
  - `body` string — Main body text of the email
  - `cta_text` string, nullable — Call-to-action label. Required when `cta_type` is `BUTTON`.
  - `cta_type` 'BUTTON' | 'EMBEDDED_NPS' — Type of call-to-action rendered in the email. - `BUTTON`: a clickable button; `cta_text` must be non-null. - `EMBEDDED_NPS`: an NPS score row embedded in the email.
  - `post_cta_text` string, nullable — Text displayed below the call-to-action
  - `closing_text` string, nullable — Closing paragraph of the email
  - `signature_name` string, nullable — Name displayed in the email signature
  - `logo_url` string, uri, nullable — URL of the organization logo displayed in the email header
  - `banner_url` string, uri, nullable — URL of the banner image displayed in the email
  - `color` string — Primary accent color for the email template (hex code)
  - `font_family` 'Arial' | 'Helvetica' | 'Verdana' | 'Georgia' | 'Trebuchet' — Font family used in the email

## Response `200`

OK

- FeedbackEmailTemplate
  - `name` string, required — Internal name for the template
  - `subject` string, required — Email subject line
  - `title` string, required — Title displayed in the email body
  - `body` string, required — Main body text of the email
  - `cta_text` string, nullable — Call-to-action label. Required when `cta_type` is `BUTTON`.
  - `cta_type` 'BUTTON' | 'EMBEDDED_NPS', required — Type of call-to-action rendered in the email. - `BUTTON`: a clickable button; `cta_text` must be non-null. - `EMBEDDED_NPS`: an NPS score row embedded in the email.
  - `post_cta_text` string, nullable — Text displayed below the call-to-action
  - `closing_text` string, nullable — Closing paragraph of the email
  - `signature_name` string, nullable — Name displayed in the email signature
  - `logo_url` string, uri, nullable — URL of the organization logo displayed in the email header
  - `banner_url` string, uri, nullable — URL of the banner image displayed in the email
  - `color` string, required — Primary accent color for the email template (hex code)
  - `font_family` 'Arial' | 'Helvetica' | 'Verdana' | 'Georgia' | 'Trebuchet', required — Font family used in the email
  - `id` integer, required — Unique identifier of the email template
  - `org_id` integer, required — The organization ID that owns this template
  - `created_at` string, date-time, required — Date and time the template was created
  - `updated_at` string, date-time, required — Date and time the template was last updated

## Other responses

- `401` — You are not authenticated
- `403` — You are not allowed to perform this action
- `404` — Resource does not exist
- `422` — Validation error — e.g. `cta_text` is null while the effective `cta_type` is `BUTTON`

---

[API](https://skmtc.net/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.net/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/revisions/3652d8b1a8b3/schema)
