---
title: "Create an email template embed to create a brand new email template"
method: POST
path: "/businesses/{id}/email_templates/embeds"
tags: ["Email template embeds"]
---

# Create an email template embed to create a brand new email template

`POST /businesses/{id}/email_templates/embeds`

## Path parameters

- `id` string, required

## Request body

- object
  - `expires_in` number — The number of seconds until the embed will expire

## Response `200`

The created `EmailTemplateEmbed` object

- EmailTemplateEmbed
  - `id` string, required — The ID of the email template embed
  - `expires_at` string, required — When the email template embed expires and needs to be regenerated
  - `email_template` string, nullable, required — The email template associated with this embed
  - `business` string, required — The business associated with this embed
  - `url` string, required — The URL to embed the email template editor

---

[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)
