Skip to main content

The notification rule object

id
string
required

Unique identifier for this notification rule

Example:

"01FCNDV6P870EA6S7TK1DSYDG0"

method_target
object
required
Example:
{
"all": {},
"specific": { "id": "01FCNDV6P870EA6S7TK1DSYDG0" },
"type": "specific"
}
method_type
enum<string>
required

The type of notification method. Phone methods do not differentiate between voice call and SMS.

Available options:
app,
email,
microsoft_teams,
phone,
slack
Example:

"app"

rule_type
enum<string>
required

The urgency level this rule applies to

Available options:
high_urgency,
low_urgency
Example:

"low_urgency"

app
object
Example:
{
"push_notification_criticality": "critical"
}
delay_seconds
integer<int64>

Delay in seconds before this rule activates. 0 means immediate.

Required range: 0 <= x <= 1200
Example:

0