Replace the incident policy
Replaces the active project's incident policy. Requires project update permission. Rejects a repeat without a first reminder, a reminder schedule longer than 2 days, both escalation targets, escalation without a target, a channel that is not an enabled non-paging channel of this project, and a member who is not in this project. Writes the audit event incident_policy_updated.
bearerAuthAuthorizationBearer <token>Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.
application/json- body
channelIds*array<>items <= 10emailServiceOwnersOnSev12*booleanrenotifyUnackedMinutes*integerMinutes unacknowledged before the first reminder; null turns reminders off
5 <= value <= 1440renotifyRepeatMinutes?integerMinutes between later reminders; null reminds once
5 <= value <= 1440renotifyMax?integerTotal reminders, counting the first. The schedule must finish within 2 days
1 <= value <= 103escalateAfterMinutes?integerMinutes unacknowledged before the one escalation step; null turns it off
5 <= value <= 1440escalateChannelId?stringAn enabled, non-paging channel of this project
uuidescalateUserId?stringA project member who can act on incidents; emailed
uuidautoInvestigateOnOpen*booleanThe project's incident policy
application/json- response
policy?curl -X PUT 'https://app.supercheck.io/api/notification-policy' \ -H 'Content-Type: application/json' \ -d '{ "channelIds": [ "1a657e21-4e71-4e5d-a390-9826b14c8dc1" ], "emailServiceOwnersOnSev12": true, "renotifyUnackedMinutes": 5, "autoInvestigateOnOpen": true}'{ "policy": { "channelIds": [ "1a657e21-4e71-4e5d-a390-9826b14c8dc1" ], "emailServiceOwnersOnSev12": true, "renotifyUnackedMinutes": 5, "renotifyRepeatMinutes": 5, "renotifyMax": 3, "escalateAfterMinutes": 5, "escalateChannelId": "0ee81016-acb2-40a7-b31a-6103d12344f7", "escalateUserId": "b56c466a-2039-4b8f-90b1-3ca3cceebde2", "autoInvestigateOnOpen": true, "autoInvestigateEnabledAt": "2019-08-24T14:15:22Z" }}