|
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)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 | Receiving incoming messagesTo get a list of incoming messages, call the address using the GET or POST method:
https://smscentre.com/sys/get.php?get_answers= 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:
<id> – the ID of the incoming message that is assigned by the Server automatically. <received> – the date the message was received by the Server. Format DD.MM.YYYY hh:mm:ss. <phone> – subscriber's phone number. <message> – incoming message. <to_phone> – recipient's phone number. <sent> – the date the message was sent. Format DD.MM.YYYY hh: mm: ss. Examples: Getting a list of 10 first incoming messages for the current day: https://smscentre.com/sys/get.php?get_answers= Getting a list of 15 first incoming messages in the last 48 hours: https://smscentre.com/sys/get.php?get_answers= Getting a list from 20 of the first incoming messages with IDs larger than id="1234567": https://smscentre.com/sys/get.php?get_answers=
The server does not accept more than three identical requests within a minute to receive a list of incoming messages to reduce the load and protect against errors and loops in the Client-side program. |
© 2003–2024 SMS Center LLC | support@smscentre.com Contacts | Design — Artemy Lebedev Studio Site Information |