---
title: "Add base app inbox message"
method: POST
path: "/api/v1/messages/appinbox"
tags: ["Messages"]
---

# Add base app inbox message

`POST /api/v1/messages/appinbox`

## 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`
- Auth: HTTP basic

The method is used for creating basic app inbox messages.

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