SMS rule object
JSON
- JSON
- XML
{
"senders": [
{
"from_email": "",
"from_name": "Example",
"percent": 100,
"replyto_email": "",
"sender_id": 798
}
],
"type": "default",
"value": ""
}
<xml>
<senders array='true'>
<from_email></from_email>
<from_name>Example</from_name>
<percent>100</percent>
<replyto_email></replyto_email>
<sender_id>798</sender_id>
</senders>
<type>default</type>
<value></value>
</xml>
Object parameters
Parameter | Type | Example | Description |
---|---|---|---|
type | string | "default" | SMS rule type |
value | string/int | "" | Depending on type |
senders | JSON array | [] | Senders list |
Rule types
Rule type | Value type | Example | Description |
---|---|---|---|
default | string | "" | Always enabled |
group_id | int | 12 | If group ID equals.. |
from_domain | string | "altcraft.com" | If from domain equals.. |