Skip to main content

SMS rule object

JSON

{
"senders": [
{
"from_email": "",
"from_name": "Example",
"percent": 100,
"replyto_email": "",
"sender_id": 798
}
],
"type": "default",
"value": ""
}

Object parameters

ParameterTypeExampleDescription
typestring"default"SMS rule type
valuestring/int""Depending on type
sendersJSON array[]Senders list

Rule types

Rule typeValue typeExampleDescription
defaultstring""Always enabled
group_idint12If group ID equals..
from_domainstring"altcraft.com"If from domain equals..