Webcom Mobi API Docs
RU
  • Introduction
  • СПОСОБЫ ВЗАИМОДЕЙСТВИЯ С A2P ПЛАТФОРМОЙ
    • JSON specification
      • Sending SMS, Viber, Flash SMS, WAP-Push
      • SMS status request
        • POST request
        • Webhook
      • Balance check request
    • HTTP GET specification
      • Sending SMS
      • Sending Viber
      • Sending Cascade
      • Request message status
      • Registration
    • XML specification
      • Sending SMS, Viber, Flash SMS, WAP-Push
      • SMS status request
        • POST request
        • Webhook
      • Balance check request
      • Request to receive a list of senders
      • Request to add senders
      • Request for incoming SMS
      • Request for information by phone number
      • Request for obtaining the list of bases
      • Request to change parameters, add/remove bases
      • Request for receiving the list of subscribers of the base
      • Request to add/edit/delete subscribers of the base
      • Request to get the list of numbers from the STOP list
      • Request to add/remove subscribers to the STOP list
      • Request to receive the list of scheduled SMS
      • Request to delete a scheduled SMS
      • Request to get the time of change of something
      • Request for time verification
      • File upload request
      • Request to refill users' balance
    • ВЗАИМОДЕЙСТВИЕ С ПЛАТФОРМОЙ MSG (НЕОФ КАНАЛЫ)
    • Specification JSON
      • Чекинг базы номеров
Powered by GitBook
On this page
  • Sending Viber
  • Example of a browser request
  1. СПОСОБЫ ВЗАИМОДЕЙСТВИЯ С A2P ПЛАТФОРМОЙ
  2. HTTP GET specification

Sending Viber

Sending Viber

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

Request Body

Name
Type
Description

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 1 year ago