Send Viber message
Example of request to send Viber message to the specified number.
URI: /api/http.php
All requests to the gateway API are sent in JSON using the GET or POST method.
URI parameters
Request example
/api/http.php?key=api/key&command=send&from=test&to=380501234567&message
=test&viber=1&viber_type=text&viber_message=test&viber_from=test&viber_l
ifetime=60&viber_sms=true
Response examples
- Successful
- Unknown command
id:84523377 sms_count:1
errors:Unknown command