---
title: "Copy an email template as a one-off"
method: POST
path: "/email_templates/{id}/copy_one_off"
tags: ["Email templates"]
---

# Copy an email template as a one-off

`POST /email_templates/{id}/copy_one_off`

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

The copied `EmailTemplate` object. As a one-off, it will not be return from `GET /businesses/:id/email_templates`

- EmailTemplate
  - `id` string, required — The ID of the email template
  - `name` string, required — The name of the email template
  - `subject` string, required — The subject of the email template. Variables are supported via `{{ variableName }}`
  - `body` string, nullable, required — (Deprecated) The body of the email template. Always `null` since there are no plaintext emails
  - `kind` 'html' | 'unlayer' | 'old_editor' | 'editor', required — The kind of the email template
  - `template_html` string, nullable, required — The HTML representation of the rich text email. May be null
  - `template_json` unknown, required
  - `new_template_json` unknown, required
  - `new_template_html` string, nullable, required — The new unlayer HTML template. May be null
  - `attachments` object[], required — An array of attachments associated with the email template
    - `id` string, required — The ID of the attachment
    - `name` string, required — The name of the attachment
  - `metadata` object, required — Arbitrary metadata associated with this email template
  - `created_at` string, required — The time when the email template was created in ISO 8601 format
  - `enabled_at` string, nullable — The time when the email template was enabled in ISO 8601 format

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
