---
title: "Create an SMS template embed to edit an existing SMS template"
method: POST
path: "/sms_templates/{id}/embeds"
tags: ["Sms template embeds"]
---

# Create an SMS template embed to edit an existing SMS template

`POST /sms_templates/{id}/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 `SmsTemplateEmbed` object

- SMSTemplateEmbed
  - `id` string, required — The ID of the SMS template embed
  - `sms_template` string, nullable, required — The ID of the SMS template
  - `business` string, nullable, required — The ID of the business
  - `url` string, required — The URL to embed the SMS template editor
  - `expires_at` string, required — When the SMS template embed expires and needs to be regenerated

---

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