DELETE/sms/conversation

The delete/sms/conversation request will delete one or more SMS conversations from the user's account. 


Parameters:


Parameter
Type
Operation
SMS line string
The  SMS line from which the message is to be deleted.
conversation string The ID of the conversation to be deleted (several can be specified in one request, but each in a separate parameter.)
 
You obtain this ID using the get/sms/conversations method.


Example


To delete a conversation with ID 19177224344 in the inbox directory for voicemail line 16468605270 use this syntax:


webserv.telebroad.com/api/teleconsole/rest/sms/conversation?sms_line=16468605270&conversation=19177324344

.

.

.


Result:


A "null" error indicates successful deletion.


Full details of the conversation that was deleted will follow.


    {"error":null,

        "result":

        [{"id":"2567965","new":"0","direction":"out",

        "sender":"16468605270","receiver":"19177324344",

        "time":"1512318577",

        "msgdata":"Hi there, just wanted to see you got my                 report",

        "sent_by":"13697","read_by":"","seen":"0"},

        {"id":"2159236","new":"0","direction":"in",

        "sender":"19177324344","receiver":"16468605270",

        "time":"1500544816","msgdata":"I did. Looks     

        good.",

        "sent_by":null,"read_by":"13697","seen":"0"}

        ]}

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.