Post/send/sms

Function


The Post/send/voicemail method allows you to use your Telebroad account to send an SMS message to a recipient with a mobile phone or another Telebroad account that supports SMS messaging.


Parameters


There are no parameters in the header. All parameters go in the body in JSON Raw format.



Parameter Type Operation
sms_line string The user's SMS line that will be used for sending the message.
receiver
string The number of the intended recipient of the message.
msgdata integer The actual content of the SMS message.


Example


To send the SMS messages "Hello world" from SMS line 1-646-702-443 use this syntax:


Header

webserv.telebroad.com/api/teleconsole/rest/send/sms


Body

{"sms_line":"16467024430","receiver":"19178644345,"msgdata":"Hello world"}


Result:


If the message was sent successfully:

{

"error": null,

"result": true

}



If there was a problem sending the message:


{

"error":{

"code": 444,

"message": "Failed to send message"

}

}


Did you find it helpful? Yes No

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