Messages
Send Viber message
Changed onThe method is used for sending a Viber message to a contact. A new contact is created if no contact with such phone number exists. Supports carousel messages with 2-5 items containing images and buttons.
post/api/v1/message/viber
Request
- Base URLhttps://esputnik.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"text": "Subscribe to our channel",
"ttlSeconds": 36000,
"action": "https://example.com/",
"groupId": 2345678,
"externalRequestId": "EXT-2023-ABC-12345",
"from": "John Smith"
}Response
Changes
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- warning