Skip to main content
An escalation policy defines an ordered sequence of layers, each targeting an on-call schedule or a set of users. When an incident is triggered, scaling.cloud notifies the first layer. If that layer does not acknowledge within ackTimeoutMinutes, it escalates to the next layer.
Policy layers are managed separately. See Policy Layers for endpoints that add, update, reorder, or remove layers from a policy.

GET /escalation/policies

List all escalation policies for your organization. Returns policy metadata only — layers are not included in list responses.

Response fields

data
object[]
required
Array of escalation policy objects.

Error codes


POST /escalation/policies

Create a new escalation policy. The name must be unique within your organization. Add layers separately after creation using POST /escalation/policies/{policyId}/layers.

Request body

name
string
required
Display name for the policy. Must be unique within your organization. 1–255 characters.
description
string
Optional description of the policy’s purpose.

Response fields

data
object
required
The created escalation policy.

Error codes


GET /escalation/policies/{policyId}

Retrieve a single escalation policy by ID, including all of its layers ordered by position.

Path parameters

policyId
string
required
The UUID of the policy to retrieve.

Response fields

data
object
required
The policy with its layers.

Error codes


PATCH /escalation/policies/{policyId}

Update one or more fields on an escalation policy. All fields are optional — only the fields you include are updated. To update layers, use the layer endpoints.

Path parameters

policyId
string
required
The UUID of the policy to update.

Request body

name
string
New display name for the policy. Must be unique within your organization. 1–255 characters.
description
string | null
Updated description. Pass null to clear the description.

Response fields

data
object
required
The updated policy object (metadata only — does not include layers).

Error codes


DELETE /escalation/policies/{policyId}

Delete an escalation policy and all of its layers. This action is permanent.
You cannot delete a policy that is currently attached to one or more active incidents. The request will fail with a 400 policy_in_use error. Resolve or transfer all active incidents using this policy before deleting it.

Path parameters

policyId
string
required
The UUID of the policy to delete.

Response fields

success
boolean
required
true when the policy was deleted.

Error codes