|
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 | Request for ratesTo get the list of tariffs for the specified Client, call the GET or POST address method:
https://smscentre.com/sys/get.php?get_price=1&login=<login>&psw=<password>
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 the response as a set of strings:
<zone> - tariff zone. <name> - name of the tariff zone (operator, country, etc..). <api> - the cost of SMS when sending via the API. <mass> - the cost of SMS when sending via your personal account. <mms> - the cost of an MMS message. <hlr> - the cost of an HLR request. <call> - the cost of a voice message (call). <mccmnc> - the country code and the mobile operator for which the individual tariff is set. <cost> - the cost of the message for this individual tariff. <mail> - cost of an e-mail message. Examples: Getting a list of fares: https://smscentre.com/sys/get.php?get_price=1&login=alex&psw=123 The server does not accept more than three identical requests within a minute to receive a list of tariffs 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 |