Send Viber message

The method is used for sending a Viber message to a contact. A new contact is created if no contact with such phone number exists.

Log in to see full request history
Body Params
string
required

Message text

int32

Message lifetime in seconds, the default value is day.

string
string
string

A clickable link embedded in a picture or in a button.

string
required

The notification a Viber user receives when a message is delivered after its lifetime expiration.

phoneNumbers
array of strings

The list of the recipient phone numbers. Required parameter
, if "groupId" is not specified.

phoneNumbers
tags
array of strings

The list of tags to be assigned to a message.

tags
int32

Required parameter
. If "phoneNumbers" are not specified.

string

External request ID. It is the same for all the recipients.

string

Sender's name. Required parameter
if more than one sender is available.

boolean

The parameter determines whether to track links in a message or not. The default value is ‘true’.

subscriptionsKeys
array of strings
subscriptionsKeys
Response

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json; charset=UTF-8