![]() |
|
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 ÓÏÐÀÂËÅÍÈÅ ÊÎÍÒÀÊÒÀÌÈ 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 ![]() Receiving incoming messages Getting statistics Request for rates Getting information about the operator Getting data about a short link | Getting the history of sent messagesTo get a list of sent SMS messages, you need to call the address using the GET or POST method:
https://smscentre.com/sys/get.php?get_messages Description of the parameters 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:
<status> – status Code (list) <last_date> – the date of the last status change. Format DD.MM.YYYY hh: mm: ss. <last_timestamp> – time stamp of the last status change. <err> – error code if the message was not delivered. <send_date> – date the message was sent (format DD.MM.YYYY hh: mm: ss). <send_timestamp> – time stamp for sending the message. <phone> – subscriber's phone number. <country> – name of the country of registration of the subscriber number. <operator> – the name of the operator of the subscriber. <region> – region of registration of the subscriber number. <type> – message type. <cost> – message cost. <sender> – sender ID. <status_name> – status name. <message> – the text of the message. <mccmnc> – mobile country code and mobile operator code. <id> – message ID. <int_id> – global Message ID. <sms_cnt> – number of parts per message. <format> – message format. <crc> – message checksum. Examples: Receiving the last ten outgoing SMS messages: https://smscentre.com/sys/get.php?get_messages Receiving the last outgoing SMS message sent to the number " 79999999999": https://smscentre.com/sys/get.php?get_messages
The server does not accept more than three identical requests within a minute or thirty requests within an hour to get the history of outgoing messages 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 |
![]() |