Sending Viber

Sending Viber

GET http://lk.mysmpp.ru/sendsms.php

Request Body

NameTypeDescription

user*

Sting

Your login in the system

validity_period

String

SMS lifetime (default 2 days) Date and time in format:

YYYY-MM-DD HH:MM

where, YYYY - year, MM - month, DD - day, HH - hours,

MM - minutes

image_viber

String

Address of the picture for Viber message

action_viber

String

Link for Viber message button

button_viber

String

Viber message button text

text_viber*

String

Viber message text

sender_viber*

String

Viber message sender

type_send_1*

String

Type of message to be sent (viber)

token*

Sting

You can use a secret key instead of login and password. To obtain it, please contact your manager

pwd*

Sting

Your password in the system

Viber message id_sms number will be sent in reply. Used to check the status of Viber message.

Example of a browser request

http://lk.mysmpp.ru/sendsms.php?user=login&pwd=password&type_send_1=viber&sender_viber=sender&dadr=phone&text_viber=text_viber&button_viber=button_viber&action_viber=action_viber&image_viber=http://image_viber

Last updated