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

# Update the base app inbox message

`PUT /api/v1/messages/appinbox/{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/appinbox/{id}`
- Auth: HTTP basic

The method is used for updating the base app inbox message.

## Path parameters

- `id` integer, required

## Request body

- BaseAppInboxMessage
  - `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.
  - `text` string, required: Message text.
  - `link` string: The link that will open after the click on the message body.
  - `imageSource` string: The logo image in JPEG, PNG or GIF format.
  - `customData` string: Additional parameters in JSON format to be used in the message.
  - `ttlSec` integer: Time-to-live for the message, in seconds.
  - `translations` AppInboxMessage[]: The array of the language versions for the current message. 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.
    - `title` string, required: Message title.
    - `text` string, required: Message text.
    - `link` string: The link that will open after the click on the message body.
    - `imageSource` string: The logo image in JPEG, PNG or GIF format.
    - `customData` string: Additional parameters in JSON format to be used in the message.
    - `ttlSec` integer: Time-to-live for the message, in seconds.

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