An escalation policy defines the chain of responders that Scaling notifies when an incident is opened. Each layer targets an on-call schedule (or a specific set of users) and has an acknowledgment timeout. If no one on that layer acknowledges the incident within the timeout window, Scaling moves to the next layer.Documentation Index
Fetch the complete documentation index at: https://docs.scaling.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- At least one on-call schedule created. See Set Up On-call if you haven’t created one yet.
- A Scaling API key.
Create an escalation policy
Send a The response returns the new policy:The policy has no layers yet—add them in the next step.
POST request to /api/escalation/policies with a name and optional description.Add escalation layers
Each layer specifies a Response:Add layer 2 — targets a secondary schedule with a 10-minute timeout. This layer fires if no one on the first schedule acknowledges within 5 minutes:Response:You can also target specific users directly instead of a schedule by using
position, an ackTimeoutMinutes, and a target. The target is either an on-call schedule or a direct list of users.Add layer 1 — targets your primary on-call schedule with a 5-minute acknowledgment timeout:If no one acknowledges an incident within a layer’s
ackTimeoutMinutes, Scaling automatically notifies the next layer in the policy. If all layers are exhausted without an acknowledgment, Scaling stops escalating but the incident remains open. Make sure your final layer has a long enough timeout or targets a reliable fallback—such as a manager or secondary team."type": "users" with a userIds array:Attach the policy to an incident
Pass the policy ID in the The response confirms the policy is attached:
escalationPolicyId field when creating an incident. Scaling immediately begins notifying the first layer’s on-call responders.Reorder layers
If you need to change the escalation order, send a The response returns all layers with updated positions:You must include every layer ID in the request—the API will reject a
PUT request to /api/escalation/policies/{policyId}/layers/order with the full ordered list of layer IDs. The array order determines the new position values.layerIds array that doesn’t match the full set of layers on the policy.