API
Send USSD to target address, if there is any SIM card supported.
Available in 8.1.0 or later
Input Parameters
Type | Notation | Mandatory | Description | |
connId | Number | <conn_id> | required | Specify which WAN connection ID sends USSD |
simId | Number | <sim_id> | optional | Specify which SIM ID sends USSD. If the information is absent, the call will choose the active SIM |
ussd | String | {1234567890*#} | required | USSD code |
cURL Example
curl -b cookies.txt -H "Content-Type: application/json" -X POST -d '{"connId":2,"ussd":"*109#"}' http://192.168.1.1/api/cmd.sendUssd
{ "stat": "ok", "response": { "message": "Request is sent successfully" } }