![]() |
|
8 (800) 700 7672 Free in Russia |
The API allows you to send messages through your projects and services over the HTTP/HTTPS, SMTP, and SMPP protocols. Ready-made libraries in different programming languages connect to your project and help you send messages from anywhere with a single command.
ОТПРАВКА СООБЩЕНИЙ Sending an SMS message MANAGING MAILING LISTSComments in SMS messages Sending to a group of numbers Sending HLR-query Sending an MMS message Sending an e-mail message Sending a voice message (call) ![]() Using prefixes when sending messages Managing message templates Managing operator templates Virtual sending (test mode) Event Notifications MESSAGE STATUSES Checking the status CHECKING THE BALANCE STATUSServer response and error codes Status codes Error codes in the status Deleting a message УПРАВЛЕНИЕ КОНТАКТАМИ CLIENT MANAGEMENT Work with the subclient MANAGING SENDER NAMES (SENDER ID)Creating and uploading invoices and reports List of available operations with sender names GETTING DATAServer response and error codes Examples of actions with sender names Getting the history of sent messages VARIOUSReceiving incoming messages Getting statistics Request for rates Getting information about the operator Getting data about a short link | Sending a viber messageTo send a viber message, you must call the GET or POST address method:
https://smscentre.com/sys/send.php?login=<login>&psw=<password>&phones=<phones>&mes=<message>&viber=1 Sending imagesЕсли на каждый номер планируется отправлять отдельную картинку в сообщении, то в этом случае необходимо либо передавать полный http(s)-адрес внешнего файла в виде <file http(s)://...>, or send an additional fileurl parameter in the request that contains the full http(s) address of the image. When using fileurl, passing the mes parameter in the request is optional.If, when creating a mailing list, one text is supposed to be sent to several numbers, then you need to insert the full http(s) link of the previously uploaded image file into the message text, which you can find out in your personal account on the sending page by clicking "attach file"-"Uploaded files". The attached file must not exceed 512 Kb in size and must meet one of the following formats: JPG, GIF, PNG. Adding a buttonTo insert a button in the message, when you click on it, you will open the browser and go to the specified address, you need to add a special macro {button,url,text} to the message text, where:<button> – macro name. <url> – full http address of the link that will be clicked when the button is clicked. <text> – the text of the button. The length of the text can not exceed 30 characters. To insert a button into the message, when you click on it, the subscriber will be called to the specified phone number, you need to add a special macro to the message text {button, tel:79999999999, text}. Message typesThe system supports the following types of viber messages:
Examples of sending viber messagesExamples:Sending a viber message with the text " Hello": https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&mes=Hello&viber=1 Sending a viber message using one of the predefined templates for testing with the text "Test", the button "{button, http://smscentre.com, Site} "and the image previously uploaded in your personal account and having the address" http://smscentre.com/upload/files/sms/1856f97d/6_1.jpg": https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&viber=1&mes=Test+%7Bbutton%2 Sending a viber message using one of the predefined templates for testing with the text "test", the button "{button, http://smscentre.com, Site} "and the image located on the external resource" https://mysite.com/sms/picture.jpg": https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&viber=1&mes=test+%7Bbutton%2 Sending a viber message using one of the predefined templates for testing with the text "test", the button "{button,http://smscentre.com,Site}" and the picture "https://mysite.com/sms/picture.jpg" passed through the fileurl parameter: https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&viber=1&mes=test+%7Bbutton%2 |
© 2003–2023 SMS Center LLC License no. 166255 | support@smscentre.com Contacts | Design — Artemy Lebedev Studio Site Information |
![]() |