|
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 | Contacts and groups. Server response and error codesIf 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 creating a contact, contact group, or blacklist entry:
When changing or deleting a contact (group), deleting a black list entry:
<phone> – a list of phone numbers separated by any separator. For e-mail addresses, it is replaced with <mail>. <name> – contact Name. <group> – iD of the group that the contact belongs to. <first_name> – ID. <last_name> – surname. <middle_name> – middle name. <birthday> – date of birth in the format dd.mm.yyyy. <id> – contact Id assigned by the Client. <comments> – commentary. <tags> – tags (tags). <phone_other><phone_other> – other phone numbers. According to these numbers, messages are not sent out. For e-mail addresses are replaced with <mail_other>. When requesting a list of groups:
<id> – group ID assigned by the Server when creating the group. <name> – the name of the group. <number> – the number of the mailing group. <cnt> – the number of contacts in the group. When requesting elements of the "black" list:
<id> – iD of the element assigned by the Server when creating. <phone> – phone number (or <email><email> when requesting an e-mail blacklist). <type> – blocking type: 0 – all messages, 1 - mass mailings, 2 - single messages. <comment> – commentary. |
© 2003–2024 SMS Center LLC | support@smscentre.com Contacts | Design — Artemy Lebedev Studio Site Information |