|
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 | Mailing. Server response and error codesThe server sends the response as a string:If an error occurred, the response will be one of the following: When fmt = 0:
If the request is processed successfully, a string of the following format is returned: When creating a mailing list:
When you disable or delete a mailing list:
When receiving information about a specific mailing list (when mail=1, the "phones" parameter is replaced with " emails"):
When receiving a mailing list (when mail=1, the "phones" parameter is replaced with " emails"):
<id> – the distribution ID sent by the Client or assigned by the Server automatically. <name> – mailing list name. <subject> – subject (for e-mail newsletters). <repeat_send> – repeat period. <repeat_cnt> – the number of repetitions of the mailing list. <created> – mailing list creation date. <changed> – date of mailing list change. <need_date> – scheduled date of dispatch. <last_sent> – last sent date. <phones> (<emails>) – list of phone numbers (e-mail addresses) of message recipients. <message> – the text of the message. <format> – message format. <validity> – "lifetime" of the message. <period> – message sending interval. <frequency> – frequency of sending messages. <status> – mailing list status. <sender_id> – sender ID. <phones_cnt> – number of recipients. <cost> – cost of sending. <sms_sent> – number of messages sent. <sms_ok> – number of messages delivered. |
© 2003–2024 SMS Center LLC | support@smscentre.com Contacts | Design — Artemy Lebedev Studio Site Information |