![]() |
|
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 MESSAGES 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) Sending a viber message Using prefixes when sending messages ![]() 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 | Managing message templatesTo manage message templates, call the appropriate address with the required command and parameters using the GET or POST method.To create a template: https://smscentre.com/sys/templates.php?add=1&login=<login>&psw=<password>&name=<name>&msg=<msg> To change the template: https://smscentre.com/sys/templates.php?chg=1&login=<login>&psw=<password>&id=<id> To delete a template: https://smscentre.com/sys/templates.php?del=1&login=<login>&psw=<password>&id=<id> To get a list of templates: https://smscentre.com/sys/templates.php?get=1&login=<login>&psw=<password> The following parameters are passed to the server:
If an error occurs, the Server returns the following string:
If the request is successful, the Server returns a response in the form of a string: When creating a template:
When changing or deleting a template:
<id> – template ID assigned by the system automatically. <name> – template name. <format> – message format. <sender> – sender ID. <flag> – flag for the template. Setting the first bit of the flag (fl[1]=1) assigns the use of the template for auto-signing. <message> – the text of the message. The server does not accept more than three identical requests for actions with templates within a minute to reduce the load and protect against errors and loops in the Client-side program. |
© 2003–2023 SMS Center LLC License no. 166255 | support@smscentre.com Contacts | Design — Artemy Lebedev Studio Site Information |
![]() |