---
title: "Update translated mobile push message"
method: PUT
path: "/api/v1/messages/mobilepush/{id}/{language}"
tags: ["Messages"]
---

# Update translated mobile push message

`PUT /api/v1/messages/mobilepush/{id}/{language}`

## 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/mobilepush/{id}/{language}`
- Auth: HTTP basic

The method is used for updating the language version of mobile push message

## Path parameters

- `id` integer, required
- `language` string, required

## Request body

- BaseMobilePushMessage
  - `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.
  - `title` string, required: Message title.
  - `subtitle` string: Message subtitle. Visible only to iOS users.
  - `text` string, required: Message text.
  - `link` string: Can be either an external link (opens in device browser) or a deep link (opens some section of the app).
  - `imageSource` string: Image URL for a single image in a message. Use 'images' array to create an images carousel.
  - `customData` string: Additional parameters in JSON format to be used in the push message.
  - `ttlSec` integer: Time-to-live for a message; in seconds.
  - `buttons` MobilePushButton[]: Use buttons to implement various actions. 4 buttons for iOS, 3 buttons for Android are supported.
    - `actionId` string, required: <b>Required parameter.</b><br>Unique action id for the button.
    - `label` string, required: <b>Required parameter.</b><br>Text shown on the button.
    - `iosIconPath` string: Icon associated with the button action. Supported on iOS 15+.
    - `link` string: An URL or a deeplink where user will go if selects the button.
    - `customData` string: Additional parameters of the button; in JSON format.
  - `soundEnabled` boolean: Enable to play sound when user receives push-message.
  - `badgeCount` integer: The number of unread messages shown to the user.
  - `images` string[]: The array of image URLs for images carousel. Up to 10 images.
  - `translations` MobilePushMessage[]: The array of language versions for the current message. Available for 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.
    - `title` string, required: Message title.
    - `subtitle` string: Message subtitle. Visible only to iOS users.
    - `text` string, required: Message text.
    - `link` string: Can be either an external link (opens in device browser) or a deep link (opens some section of the app).
    - `imageSource` string: Image URL for a single image in a message. Use 'images' array to create an images carousel.
    - `customData` string: Additional parameters in JSON format to be used in the push message.
    - `ttlSec` integer: Time-to-live for a message; in seconds.
    - `buttons` MobilePushButton[]: Use buttons to implement various actions. 4 buttons for iOS, 3 buttons for Android are supported.
      - `actionId` string, required: <b>Required parameter.</b><br>Unique action id for the button.
      - `label` string, required: <b>Required parameter.</b><br>Text shown on the button.
      - `iosIconPath` string: Icon associated with the button action. Supported on iOS 15+.
      - `link` string: An URL or a deeplink where user will go if selects the button.
      - `customData` string: Additional parameters of the button; in JSON format.
    - `soundEnabled` boolean: Enable to play sound when user receives push-message.
    - `badgeCount` integer: The number of unread messages shown to the user.
    - `images` string[]: The array of image URLs for images carousel. Up to 10 images.

## 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)
