The API allows you to send messages through your projects and services over the 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.
To delete a message, use the GET or POST method to call the status request script, specifying the del command:
https://smscentre.com/sys/status.php?del=1&login=<login>&psw=<password>&phone=<phone>&id=<sms_id>
The description of the parameters passed to the Server and the errors returned by it is similar to the one given for the status request function.
If the request is successful, the Server returns a response in the form of a string:
when fmt = 0,1: OK
when fmt = 2: <result>OK</result>
when fmt = 3:
{
"result": "OK"
}
Удаление сообщений необходимо производить до переноса в архивную базу.