![]() |
|
8 (800) 700 7672 Free in Russia |
The API allows you to send messages through your projects and services over 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. For simplified authorization, instead of a login and password pair, you can use a special API key.
MESSAGES SENDING Sending an SMS message MANAGING MAILING LISTSComments in SMS messages Sending to a group of numbers Sending an HLR request Sending an e-mail message Sending a voice message (call) Sending a viber message Sending a message to Telegram Sending a message to the Telegram chatbot ![]() 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 STATUSMessage statuses. Server response and error codes Status codes Error codes in the status Deleting a message MANAGING CONTACTS Actions with contacts and groups CLIENT MANAGEMENTContacts and groups. Server response and error codes Examples of operations with contacts Work with the subclient MANAGING SENDER NAMES (SENDER ID)List of available operations Creating and uploading invoices and reportsServer response and error codes (sub-clients) Examples of actions with sub-clients List of available operations with sender names GETTING DATAServer response and error codes (sender IDs) 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 message to WhatsappTo send a message to Whatsapp, you must use the GET or POST method to call the address:
https://smscentre.com/sys/send.php?login=<login>&psw=<password>&phones=<phones>&mes=<message>&bot=<wa:botnumber> File TransferSending a picture or video in a message is possible in one of the following ways:
Adding a buttonTo insert buttons into a message, add a special macro {button,type:param,text} to the message text, where:<button> – required tag pointing to the button. <text> – the label on the button. <type> – the type of button. It can take one of the following values:
Examples: {button,tel:+79999999999,Call} {button,https://smscentre.com/,Go} {button,code,Copy code} {button,otp_type,Enter,autofill_text,package_name,signature_hash} Before using the message texts with buttons, you must register them in the templates.. Examples of sending messages in WhatsappExamples:Sending a message with the text "Hello" to the number "79999999999" in whatsapp "wa:79888888888": https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&mes=Hello&bot=wa:79888888888 Sending a message with the text "Hello" and a link to the picture to the number "79999999999" in whatsapp "wa:79888888888": https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&mes=Hello <file https://mysite.ru/picture.jpg>&bot=wa:79888888888 Sending a message with the text "Call me" and a button to the number "79999999999" in whatsapp "wa:79888888888": https://smscentre.com/sys/send.php?login=alex&psw=123&phones=79999999999&mes=Call me {button,tel:+7999999 |