---
title: "List all SMS templates for a business"
method: GET
path: "/businesses/{id}/sms_templates"
tags: ["Sms templates"]
---

# List all SMS templates for a business

`GET /businesses/{id}/sms_templates`

## Path parameters

- `id` string, required

## Response `200`

A dictionary with an `sms_templates` property which is an array of `SMSTemplate` objects

- object
  - `sms_templates` SMSTemplate[], required — An array of SMS templates
    - `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)
