---
title: "Copy an SMS template as a one-off"
method: POST
path: "/sms_templates/{id}/copy_one_off"
tags: ["Sms templates"]
---

# Copy an SMS template as a one-off

`POST /sms_templates/{id}/copy_one_off`

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

The copied `SmsTemplate` object. As a one-off, it will not be returned from `GET /businesses/:id/sms_templates`

- SMSTemplate
  - `id` string, required — The ID of the SMS template
  - `name` string, required — The name of the SMS template
  - `message` string, required — The message of the SMS template. Variables are supported via `{{ variableName }}`
  - `estimated_sms_segments` integer, required — The estimated number of SMS segments
  - `estimated_segments` object, required — The estimated number of segments of each type. Has keys `sms` and `mms`
    - `sms` integer, required — The number of SMS segments
    - `mms` integer, required — The number of MMS segments
  - `image` string, nullable, required — The ID of the image upload
  - `shorten_urls` boolean, required — Whether to shorten URLs in the message

---

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