|
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 | Getting data about a short linkTo get information about a short link, call the GET or POST address method:
https://smscentre.com/sys/tinyurls.php?get=1&login=<login>&psw=<password>&link=<link>
or
https://smscentre.com/sys/tinyurls.php?get=1&login=<login>&psw=<password>&id=<id>
Description of the parameters passed to the Server:
All parameters that contain special characters (plus, space, Cyrillic characters, etc.) must be encoded using the urlencode function for transmission in an HTTP request. 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:
<id> – iD of the short link. <cnt> – the number of all clicks on a short link. <cnt_mon> – number of clicks on a short link per month. <cnt_day> – number of clicks on a short link for today. <cnt_yes> – the number of clicks on the short link for yesterday. <cnt_pmon> – number of clicks on a short link in the previous month. <link> – short link. Example: Getting information about a short link with id= " 145142": https://smscentre.com/sys/tinyurls.php?get=1&login=alex&psw=123&id=145142 Getting information about the short link from the full source link " mywebsite.ru": https://smscentre.com/sys/tinyurls.php?get=1&login=alex&psw=123&link=mywebsite.ru The server does not accept more than three identical requests within a minute to get information
about a short link 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 |