|
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 | Getting statisticsTo get the statistics of sent messages, you need to call the address by the GET or POST method:
https://smscentre.com/sys/get.php?get_stat=1&login=<login>&psw=<password>&start=<date1>&end=<date2>
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:
<login> - customer Login. <cnt> - number of messages. <credit> - debit. <debit> - credit. <currency> - three-character currency code. Examples: Getting statistics in the Client's current currency from " 01.01.2014 " to "01.02.2014" on a non-cash balance: https://smscentre.com/sys/get.php?get_stat=1&login=alex&psw=123&mycur=1&start=01.01.2014&end=01.02.2014 The server does not accept more than three requests per minute to get statistics 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 |