Escalate incident

This will escalate an ongoing incident to another team member, a team, different escalation policy, or the whole organization.

POST https://uptime.betterstack.com/api/v3/incidents/{incident_id}/escalate

URL parameters

incident_id
required string

Headers

Authorization
required string

Body parameters

escalation_type
required string
user_email
string
user_id
integer
team_name
string
team_id
integer
schedule_id
integer
policy_id
integer
call
boolean
sms
boolean
email
boolean
push
boolean
critical_alert
boolean
200

Response body

{
  "data": {
    "id": "123456789",
    "type": "incident",
    "attributes": {
      "name": "uptime homepage",
      "url": "https://uptime.betterstack.com/",
      "http_method": "get",
      "cause": "Status 500",
      "incident_group_id": null,
      "started_at": "2020-03-09T17:37:56.662Z",
      "acknowledged_at": "2020-03-09T18:37:56.662Z",
      "acknowledged_by": "Elon Musk",
      "resolved_at": null,
      "resolved_by": null,
      "response_content": "\n404 Not Found\n\nNot Found\nThe requested URL /fail was not found on this server.\n",
      "response_options": "{}",
      "regions": [
        "us",
        "eu",
        "as",
        "au"
      ],
      "response_url": null,
      "screenshot_url": null,
      "origin_url": null,
      "escalation_policy_id": null,
      "call": true,
      "sms": true,
      "email": true,
      "push": true
    },
    "relationships": {
      "monitor": {
        "data": {
          "id": "2",
          "type": "monitor"
        }
      }
    }
  }
}
409

Response body

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

Example cURL

User Team Schedule Policy Organization
curl --request POST \
  --url https://uptime.betterstack.com/api/v3/incidents/123456/escalate \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "escalation_type": "User",
    "user_email": "mail@example.com",
    "email": true,
    "push": true
  }'
curl --request POST \
  --url https://uptime.betterstack.com/api/v3/incidents/123456/escalate \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "escalation_type": "Team",
    "team_name": "My Team",
    "email": true,
    "push": true
  }'
curl --request POST \
  --url https://uptime.betterstack.com/api/v3/incidents/123456/escalate \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "escalation_type": "Schedule",
    "schedule_id": 123,
    "call": true,
    "push": true,
    "critical_alert": true
  }'
curl --request POST \
  --url https://uptime.betterstack.com/api/v3/incidents/123456/escalate \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "escalation_type": "Policy",
    "policy_id": 123
  }'
curl --request POST \
  --url https://uptime.betterstack.com/api/v3/incidents/123456/escalate \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "escalation_type": "Organization",
    "push": true
  }'