Save default escalation days
post
https://api.expiryedge.com/v1/saveEscalationSettingseditor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/saveEscalationSettings' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"default_escalation_notification_days": [
14,
7,
1
]
}'Response
{
"message": "Escalation settings saved successfully",
"default_escalation_notification_days": [
14,
7,
1
]
}Values are coerced to integers 0-365, de-duplicated and sorted descending; at least one valid value is required.
default_escalation_notification_daysarray of integerrequiredDays before expiry (0-365), sorted descending.min: 0 · max: 365 · min items: 1
200
Saved.
default_escalation_notification_daysarray of integerrequiredDays before expiry (0-365), sorted descending.min: 0 · max: 365 · min items: 1messagestringrequired
400 | The request is missing required fields or contains invalid values. |
401 | Missing, expired or invalid bearer token. |
403 | Authenticated, but your role or organization does not allow this action. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
