Messages

Update language version of app inbox message

The method is used for updating the language version of the app inbox message.

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

Path parameters

idinteger required

App inbox message ID

languagestring required

App inbox message language code

Request body

idinteger

Message ID.

namestring required

Message name.

languageCodestring

Language code.

tagsstring[]

List of tags.

subscriptionsKeysstring[]

Subscription categories keys, assigned to a message.

languagesstring[]

An array with the language codes for multilingual messages. Available for the GET method only.

titlestring required

Message title.

textstring required

Message text.

linkstring

The link that will open after the click on the message body.

imageSourcestring

The logo image in JPEG, PNG or GIF format.

customDatastring

Additional parameters in JSON format to be used in the message.

ttlSecinteger

Time-to-live for the message, in seconds.

Example request

{
  "title": "Account created",
  "text": "Thank you for signing up!",
  "link": "https://www.example.com",
  "ttlSec": 3600,
  "translations": [
    {
      "title": "Account created",
      "text": "Thank you for signing up!",
      "link": "https://www.example.com",
      "ttlSec": 3600
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.