---
title: "Update an SMS template"
method: PUT
path: "/sms_template/{id}/"
tags: ["sms_templates"]
---

# Update an SMS template

`PUT /sms_template/{id}/`

## Path parameters

- `id` string, required

## Request body

- UpdateSMSTemplate
  - `attachments` UpdateSMSTemplateAttachment[]
    - `content_type` string, required
    - `filename` string, required
    - `url` string, required
  - `is_shared` boolean
  - `name` string
  - `status` 'active' | 'archived'
  - `text` string

## Response `200`

Successful response

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/close/apis/close-api.md) · [All operations](https://skmtc.net/close/apis/close-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/close/close-api/revisions/0dcf3303e9d7/schema)
