API
Send SMS message to target address, if there is any SIM card supported.
Available in 8.0.0 or later
Input Parameters
Type | Notation | Mandatory | Description | |
connId | Number | <conn_id> | required | Specify which WAN connection ID sends the SMS message |
address | String | <string> | required | Target address of the SMS message, the address must begin with ‘+’ and follow with 2 to 15 digits. and the first digit cannot be ‘0’ |
content | String | <string> | optional | Content of the SMS message |
cURL Example
curl -b cookies.txt -H "Content-Type: application/json" -X POST -d '{"address":"+85235984335","content":"SMS Content"}' http://192.168.1.1/api/cmd.sms.sendMessage
{ "stat": "ok" }