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.
To delete a message, you need to call the status request script using the GET or POST method, 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"
}
Messages must be deleted before being transferred to the archive database.