> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/sms/templates.md).

# Templates

**Where:** SMS → Templates · `/projects/<project>/sms/templates`

A **template** is the reusable content of an SMS message: short plain text with Razor tokens — `Hi @Model.FirstName, your code is @Model.Code` — filled in at send time, so one template serves every recipient. Templates are used for OTPs, alerts, and bulk sends. See [Tokens binding](/other-topics/tokens-binding.md) for the placeholder syntax.

<figure><img src="/files/5K2nJiFa8J3tiJK6opqh" alt=""><figcaption><p>SMS → Templates.</p></figcaption></figure>

## What you can do here

The list shows **Template Name**, **Type** (Marketing or Transactional), and **Is Active**, and can be filtered by **Template ID** (e.g. `tmpl_5Rf3EKWEKMsihdBkPAcK0`). **Create Template** opens the [editor](/cloud/sms/templates/editor.md); clicking a name opens the same editor for that template, where you can also test, clone, archive, and delete it.

Every send — campaign or trigger-driven — points at a template by id, so updating the template updates every future send that uses it. Keep messages short: one SMS part is 160 characters, and longer texts are split into several parts. Templates are stored in the project's own database — while it is provisioning, the page shows a warning instead of the list.

<figure><img src="/files/QNVnNulXW2WvBc2qTIsW" alt=""><figcaption><p>The SMS templates list — the visual golden from the SMS e2e suite.</p></figcaption></figure>

## Use it from code

[Notifications → SMS](/sdks-and-cli/notifications/sms.md).

## API reference

Endpoints: [Get templates](/api-reference/notifications/sms/get-sms-templates.md), [Create template](/api-reference/notifications/sms/create-sms-template.md), [Update template](/api-reference/notifications/sms/update-sms-template.md).
