List an incident's escalation options

List who an incident can be escalated to, which can be people, teams, escalation policies, on-call calendars and the whole organization. Send an option's fields to Escalate an incident.

GET https://incidents.betterstack.com/api/v6/incidents/{id}/escalation-options

URL parameters

id
required string

Query parameters

escalation_type
string
search
string
team_id
string

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "type": "escalation_option",
      "attributes": {
        "escalation_type": "User",
        "name": "Jane Smith",
        "user_id": "u123",
        "user_email": "jane@example.com",
        "team_id": "t123",
        "team_name": "Platform",
        "escalation_policy_id": "456",
        "schedule_id": "789",
        "default_schedule": true
      }
    }
  ]
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403

Response body

{
  "errors": "You can't escalate this incident because it was shared with your team."
}
404
409

Response body

{
  "errors": "Cannot escalate a resolved incident."
}
422

Response body

{
  "errors": "Sorry, these attributes have unsupported values",
  "allowed_values": {
    "escalation_type": [
      "User",
      "Policy",
      "Team",
      "Schedule",
      "Organization"
    ]
  }
}

Response attributes

type
string
escalation_type
string
name
string
user_id
string or null
user_email
string
team_id
string
team_name
string
escalation_policy_id
string
schedule_id
string
default_schedule
boolean

Example cURL

List escalation options
curl --request GET \
  --url https://incidents.betterstack.com/api/v6/incidents/123456/escalation-options \
  --header "Authorization: Bearer $TOKEN"