sms.smsc_list
The sms.smsc_list command returns the the current list of SMSCs configured in the broker.
TR50 Request
{
"1": {
"command": "sms.smsc_list",
"params": {
"external": false
}
}
}
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
external | Boolean | If the response should be limited to SMSCs specifically configured for the organization. Setting it to true will list the SMSCs in the current organization. |
TR50 Response
If the command is sent successfully a success message and the list of SMSCs is returned. Otherwise, an error and error message will be returned.
{
"1": {
"success": true,
"params": {
"smsc": [
"tele2",
"tme",
"cellcom",
"us",
"att",
"vz",
"sprint"
]
}
}
}
Response Parameters
Name | Type | Description |
---|---|---|
smscs | Array | An array of SMSCs. |