---
title: "List Sms Templates"
method: GET
path: "/v2/sms-templates"
tags: ["sms-templates"]
---

# List Sms Templates

`GET /v2/sms-templates`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/sms-templates`
- Auth: HTTP bearer

List SMS Templates

## Query parameters

- `page` integer: Page number, 0 indexed.
- `limit` integer: Number of records per page.
- `sort_by` 'name' | 'created_at'
- `sort_order` 'asc' | 'desc'
- `search` string

## Response `200`

Successful Response

- PaginatedResponseSMSTemplateSchema
  - `data` SMSTemplateSchema[], required: The list of records.
    - `created_at` string, date-time, required
    - `modified_at` string, date-time, nullable, required
    - `id` string, required
    - `body` string, required: The message template body with Jinja2 variables. Plain text only.
    - `character_count` integer, required: Approximate character count (before variable substitution)
    - `description` string, nullable, required: Description of when/how to use this template.
    - `estimated_segment_count` integer, required: Estimated SMS segment count. 160 characters per segment for GSM-7 encoding. Note: Actual count may vary after variable substitution.
    - `is_default` boolean, required: Whether this is the default SMS template.
    - `name` string, required: The name of the SMS template.
    - `object` string, required: String representing the object's type. Objects of the same type share the same value.
  - `current_page` integer, required: The current page.
  - `total_records` integer, nullable, required: Total number of records.
  - `next_page` integer, nullable, required: The next page number, if one exists.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
