---
title: "Update base sms message"
method: PUT
path: "/api/v1/messages/sms/{id}"
tags: ["Messages"]
---

# Update base sms message

`PUT /api/v1/messages/sms/{id}`

## Request

- Base URL: `https://yespo.io` (the document declares no server; this is the origin it was published from)
- URL: `https://yespo.io/api/v1/messages/sms/{id}`
- Auth: HTTP basic

The method is used for updating the base sms message

## Path parameters

- `id` integer, required

## Request body

- BaseSmsMessage
  - `id` integer: Message ID.
  - `name` string, required: Message name.
  - `languageCode` string: Language code.
  - `tags` string[]: List of tags.
  - `subscriptionsKeys` string[]: Subscription categories keys, assigned to a message.
  - `languages` string[]: An array with the language codes for multilingual messages. Available for the GET method only.
  - `from` string, required: Sender name.
  - `text` string, required: Message text.
  - `trackUrls` boolean: The parameter determines whether to track links in a message or not. The default value is ‘false’.
  - `translations` SmsMessage[]: An array with translations to other languages. Available for the GET method only.
    - `id` integer: Message ID.
    - `name` string, required: Message name.
    - `languageCode` string: Language code.
    - `tags` string[]: List of tags.
    - `subscriptionsKeys` string[]: Subscription categories keys, assigned to a message.
    - `languages` string[]: An array with the language codes for multilingual messages. Available for the GET method only.
    - `from` string, required: Sender name.
    - `text` string, required: Message text.
    - `trackUrls` boolean: The parameter determines whether to track links in a message or not. The default value is ‘false’.

## Response `200`

---

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