![]() |
|
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 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 CONTACT MANAGEMENT CLIENT MANAGEMENT Work with the subclient The list of available operations Creating and uploading invoices and reportsServer response and error codes Examples of actions with the subclient ![]() 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 sender names (Sender ID)List of available operations with sender namesTo manage the names of senders, you must call the appropriate address using the GET or POST method, specifying the required command and parameters.To get a list of senders ' names registered in your personal account and approved by the moderator:
https://smscentre.com/sys/senders.php?get=1&login=<login>&psw=<password>
To add a new sender name:
https://smscentre.com/sys/senders.php?add=1&login=<login>&psw=<password>&sender=<sender>&cmt=<cmt>
To change the sender's name:
https://smscentre.com/sys/senders.php?chg=1&login=<login>&psw=<password>&sender=<sender>&cmt=<cmt>
or
https://smscentre.com/sys/senders.php?chg=1&login=<login>&psw=<password>&id=<id>&cmt=<cmt>
Sending a confirmation code for the sender's digital name:
https://smscentre.com/sys/senders.php?send_cod Confirmation of the sender's digital name:
https://smscentre.com/sys/senders.php?check_co To delete the sender's name:
https://smscentre.com/sys/senders.php?del=1&login=<login>&psw=<password>&sender=<sender>
or
https://smscentre.com/sys/senders.php?del=1&login=<login>&psw=<password>&id=<id>
When you add or change the sender's name in the request body, you can send a document file for operators (trademark certificate, domain certificate) in jpg, tif, pdf, png, zip, rar format. The document comment can be specified in the additional doc_info parameter. Description of 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 requesting a list of sender names:
<sender> – registered and approved sender name. <mega_status>(up to 01.01.2022), <mts_status>(up to 01.12.2017), <mega_step_status>, <mega_int_status>, <bee_step_status>, <motiv_step_status>, <motiv_int_status>, <mts_step_status>, <mts_int_status>, <tele2_step_status>, <tele2_status>, <ua_reg_status>, <ua_int_status> status code name of the sender have corresponding (0 - awaiting registration, 1 - sent for registration, 2 - tolerated by the operator, 3 - it is not accepted by the operator, 4 - temporarily disabled 5 - insufficient funds in the account, 6 - take another name (conflict), 8 - required documents). <status> – sender Name status (0-waiting for moderation, 1-allowed to use, 2-disabled). <id> – unique identifier of the sender's name (assigned by the Server automatically when creating a name). If the sender's name has a replacement analog for any operator, then with operators = 1 and fmt = 0,2,3, this replacement will be additionally included in the server response. When adding a new sender name:
<id> – the sender name ID assigned by the Server automatically. When changing the sender's name, sending the code, confirming and deleting the sender's name:
Examples of actions with sender namesExamples:Getting a list of sender names: https://smscentre.com/sys/senders.php?get=1&login=alex&psw=123 Adding a new sender name: https://smscentre.com/sys/senders.php?add=1&login=alex&psw=123&sender=my_shop&cmt=test Sending a confirmation code for the sender's digital name: https://smscentre.com/sys/senders.php?send_cod Sending confirmation code to the digital sender name for subclient "subalex" on behalf of "mysite.ru": https://smscentre.com/sys/senders.php?send_cod Confirmation of the sender's digital name: https://smscentre.com/sys/senders.php?check_co Deleting the sender's name: https://smscentre.com/sys/senders.php?del=1&login=alex&psw=123&sender=my_shop
The server does not accept more than three identical requests within a minute to get a list of available sender names and five requests to create a new sender name 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 |
![]() |