|
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 | Managing operator templatesTo manage templates for service, transactional, and other templated messages, you must call the appropriate address using the GET or POST method, specifying the required command and parameters.To create a template (for all operators): https://smscentre.com/sys/op_templates.php?add To get information about the template (for all operators): https://smscentre.com/sys/op_templates.php?get 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 creating a template:
When requesting a list of templates:
<name> – the name of the operator and the type of messages. <id> – the template ID assigned by the system automatically. <status> – the status of the template, can take the following values: for the add command: -2 – the specified template cannot be saved; -1 – the sender name for this template was not found or was not accepted by the operator; 1 – template added successfully; for the get command: -1 – the template for the specified operator was not found; 0 – awaiting registration; 1 – sent for registration; 2 – accepted by the operator; 3 – not accepted by the operator; 4 – temporarily disabled. The server does not accept more than ten identical requests for actions with templates 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 |