Pricing plans  Services  API  Partners  About the service  Contacts 
8 (800) 700 7672
Free in Russia
 

Integration with the service (API)

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.


HTTP/HTTPS SMTP SMPP SOAP OMS SMS Commands Libraries and code examples

MESSAGES SENDING

MANAGING MAILING LISTS

MESSAGE STATUSES

CHECKING THE BALANCE STATUS

MANAGING CONTACTS

CLIENT MANAGEMENT

MANAGING SENDER NAMES (SENDER ID)

GETTING DATA

VARIOUS

Checking the status

To check the delivery status of a message, you must use the GET or POST method to call the address: https://smscentre.com/sys/status.php?login=<login>&psw=<password>&phone=<phone>&id=<sms_id>
The following parameters are passed to the server:

OptionThe value
loginCustomer Login.
pswClient Password (you can add or change it on this page).
apikeyA special API key used for simplified authorization instead of the "login+password" pair (you can create it on this page).
phoneA comma-separated phone number or list of numbers when requesting the statuses of multiple messages. For multiple requests, the numbers in the list must be listed in the order corresponding to the message IDs. To save the multiple request format, when requesting the status of a single message, specify a comma after the phone number. This description is also suitable for e-mail messages..
idMessage ID or a comma-separated list of IDs when requesting the statuses of multiple messages. To preserve the format of a multiple request when requesting the status of a single message, specify a comma after the message ID.
bot1 – get the status of a message sent to the Telegram chatbot. Used in conjunction with the phone and id parameters.
fmtServer response format:
0 – (default) as a string (Status = 1, check_time = 10.10.2010 10:10:10).
1 – in the form of a status number and a time stamp separated by commas (1,1286524541).
2 – in xml format.
3 – in json format.
all0 – (by default) get the status of the message in the usual format.
1 – get full information about the sent message.
2 – add data about the subscriber's country, operator, and region to the message information.
charsetThe encoding of the query result, if used other than the default windows encoding-1251. Options: utf-8 and koi8-r.
del1 – delete a previously sent message. Used in conjunction with the phone and id parameters. This parameter is described in more detail here.