Messages

Update base viber message

Method is used for updating base viber message. Supports carousel messages with 2-5 items containing images and buttons.

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

Path parameters

idinteger required

Viber message ID

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.

fromstring required

Sender name. Must exist in your account.

transactionalboolean

Transactional messages have lower cost, but can contain only text. Content must be agreed with provider for successful sending. Default - false.

textstring required

Message text.

imgstring

Image URL for message. If set, caption and action must be set too.

captionstring

Button text. If set, img and action must be set too.

actionstring

Link assigned to button. If set, img and caption must be set too.

ttlSecinteger

Time to live for message in seconds. Default - 86400 (1 day).

smsFallbackboolean

Enables smsFallback feature: send SMS message instead of Viber, if contact does not have Viber app installed. Default - false.

smsSenderstring

SMS sender name for smsFallback feature.

smsContentstring

SMS text for smsFallback feature.

Changes

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