SMS rule object
JSON
{
"senders": [
{
"from_email": "",
"from_name": "Example",
"percent": 100,
"replyto_email": "",
"sender_id": 798
}
],
"type": "default",
"value": ""
}
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.. |