Skip to main content

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.

Request example

/api/http.php?version=http&key=APIKEY&command=send&from=test&to=380501234567
&message=test&viber=1&viber_type=text&viber_message=test&viber_from=test
&viber_lifetime=60&viber_sms=true

Response examples

id:84523377 sms_count:1