actions to it for recovery_in days, then restores settings per after_recovery. The new rule is created active, at the lowest priority.conditions[].field (same names as the account list response):| field | meaning |
|---|---|
3d_bounce_rate | Bounce rate over the past 3 days (%) |
7d_overall_warmup_health | Warmup health score, past 7 days (only evaluated while warmup is running) |
7d_ooo_replyrate | Reply rate incl. out-of-office replies, past 7 days (%) |
14d_ooo_replyrate | Same, past 14 days (%) |
30d_ooo_replyrate | Same, past 30 days (%) |
curl --location 'https://api.plusvibe.ai/api/v1/ea-automation-rules/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"workspace_id": "65099a0dd96fae8ab61130c0",
"name": "Pause bouncing accounts",
"selection": {
"type": "ALL_ACCOUNTS"
},
"conditions": {
"logic": "OR",
"conditions": [
{
"field": "3d_bounce_rate",
"operator": "greater_than",
"value": "5",
"value_type": "PERCENT"
},
{
"field": "7d_overall_warmup_health",
"operator": "less_than",
"value": "70",
"value_type": "NUMBER"
}
]
},
"actions": {
"daily_limit": 0,
"is_warmup_max_daily_limit": 1,
"warmup_max_daily_limit": 20,
"is_warmup_reply_rate": 0
},
"recovery_in": 3,
"after_recovery": {
"restore_type": "ORIGINAL"
}
}'{
"status": "success",
"id": "665f0a1b2c3d4e5f6a7b8c9d"
}