|
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 | Actions with deferred tasksTo reduce the load on the Server when unloading a large package of sent messages, the system implemented a deferred task mechanism. This mechanism periodically selects active tasks for unloading message packets and executes them. This allows not only to reduce the load on the Server, but also to eliminate delays in the formation and unloading of message packets in the Client's browser.To get a list of pending tasks, you must use the GET or POST method to call the address:
https://smscentre.com/sys/downloads.php?login=
To receive the task file with the sent messages, you must use the GET or POST method to call the address:
https://smscentre.com/sys/downloads.php?login=
or
https://smscentre.com/sys/downloads.php?login= 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 you receive a list of pending tasks:
<id> – iD of the deferred task. <name> – name task. <status> – task status (0 - pending, 1 - in progress, 2 - completed, 3 - canceled, 4 - execution error). <created> – date the task was created. <time> – task start time. <file> – the name of the task file. After assigning the status 2 (completed) to the deferred task, you will be able to download a file with a package of sent messages in csv format. The server does not accept more than three identical requests to receive a list of tasks or to download a file within a minute 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 |