curl --location --request PUT '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"
},
"id": "665f0a1b2c3d4e5f6a7b8c9d",
"type": "NORMAL"
}'