|
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 Connecting dedicated numbers for receiving messages Transmitting statuses and messages to the Client handler Connecting anti-spam verification (captcha) to the site Confirm your phone number with a call Actions with deferred tasks | Connecting dedicated numbers for receiving messagesYou can use special API commands to get a list of available dedicated numbers for receiving SMS messages and connect any number to your username, paying the cost for the remaining days in the current month. When you connect a dedicated number, you automatically agree to the terms of use of such numbers.To get a list of available allocated numbers, call the following address using the GET or POST method:
https://smscentre.com/sys/receive_phones.php?g To connect a dedicated number, you need to call the address using the GET or POST method:
https://smscentre.com/sys/receive_phones.php?b To change the attribute of the extension of the allocated number for the next month, you must call the address by the GET or POST method:
https://smscentre.com/sys/receive_phones.php?c 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. To get a list of available numbers:
<phone> – phone number. <type> – number type: 1,4-dedicated virtual number, 2-number on the SIM hosting service. <cost> – the cost of renting a phone number for a full month. <current_cost> – the cost of renting a phone number for the remaining days until the end of the current month. <info> – operator name and supported notification types. To rent a room:
<cost> – the amount debited from the Client's account for the rental of the phone number. To change the extension attribute of the number:
Examples: Getting a list of available phone numbers for rent: https://smscentre.com/sys/receive_phones.php?g Connecting the number " 79999999999": https://smscentre.com/sys/receive_phones.php?b Disabling the ability to extend the allocated number "79999999999" for the next month: https://smscentre.com/sys/receive_phones.php?c
The server does not accept more than two identical requests within a minute to get a list of available numbers for rent or to connect a number, or to change the properties of the allocated number 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 |