|
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 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 | Work with the subclientList of available operationsTo create or modify a subclient, you need to call method GET or POST an address indicating the required command and parameters.Create a subclient: https://smscentre.com/sys/users.php?add=1&login=<login>&psw=<password>&user=<user>&password=<password2> Change the settings of the subclient: https://smscentre.com/sys/users.php?chg=1&login=<login>&psw=<password>&user=<user>&fio=<fio> The change in the balance subclient: https://smscentre.com/sys/users.php?pay=1&login=<login>&psw=<password>&user=<user>&sum=<sum> Obtaining statistics on sub-clients c independent balance: https://smscentre.com/sys/users.php?get_stat=1 Obtaining statistics on one subclient: https://smscentre.com/sys/users.php?get_stat=1 or: https://smscentre.com/sys/users.php?get_stat=1 Get detailed statistics on the subclient with independent balance: https://smscentre.com/sys/users.php?get_stat_a Sub-clients. Description of the parametersDescription of the parameters passed to the Server:
Server response and error codesIf 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 you create a subclient:
When changing the sublogin:
<login> - login subclient. <description> - operation name. <operator> - operator name. <mccmnc><mccmnc> - numeric code of the subscriber's country plus numeric code of the subscriber's operator <cnt><cnt> - number of messages. <credit> - debit. <debit> - credit. <currency> - the three-character currency code subclient. Examples of actions with sub-clientsExamples:Creating a sub-client with the login "mylogin", password "mypassword", phone number 79999999999 and permission to use sender names (Sender ID) of the main account: https://smscentre.com/sys/users.php?add=1&login=alex&psw=123&user=mylogin&password=mypassword&phone=79999999999&fl[29]=1 Changing the sub-client's login from "mylogin" to "mylogin2", client type to "Tariff and balance of the main account" and setting allowed codes for sending SMS only in Russia: https://smscentre.com/sys/users.php?chg=1&login=alex&psw=123&user=mylogin&password=mypassword&new_login=mylogin2&type=2&fmts=7,-77 Getting statistics on sub-clients who have a shared balance with the main account and SMS sent from the electronic balance: https://smscentre.com/sys/users.php?get_stat=1 Getting statistics on a sub-client with the username "sub_alex": https://smscentre.com/sys/users.php?get_stat=1 Getting statistics on independent sub-clients in the currency of the main account from "01.01.2014" to "01.02.2014": https://smscentre.com/sys/users.php?get_stat=1 The server does not accept more than three requests within a minute to add a subclient or change the same subclient to reduce the load and protect against bugs and loops in the program on the Client side. |
© 2003–2024 SMS Center LLC | support@smscentre.com Contacts | Design — Artemy Lebedev Studio Site Information |