Reopen an incident

Reopen a resolved incident, within 24 hours of resolution.

POST https://incidents.betterstack.com/api/v6/incidents/{id}/reopen
id string required

The ID of the incident to reopen.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

Content-Type string

application/json

reopened_by string

E-mail of a team member, or any text to credit. Defaults to the user the OAuth token belongs to, or to API for an API token.

200 OK
{
  "data": {
    "id": "123456789",
    "type": "incident",
    "attributes": {
      "name": "uptime homepage",
      "call": true,
      "sms": true,
      "email": true,
      "push": true,
      "critical_alert": false,
      "cause": "Status 404",
      "status": "Started",
      "shared": false,
      "escalation_policy_id": "123",
      "incident_group_id": "98765",
      "url": "https://uptime.betterstack.com/",
      "http_method": "get",
      "regions": [
        "us",
        "eu",
        "as",
        "au"
      ],
      "response_content": "\n404 Not Found\n\nNot Found\nThe requested URL /fail was not found on this server.\n",
      "response_options": "{}",
      "response_url": "https://example.com/incidents/25/response.html",
      "screenshot_url": "https://example.com/incidents/25/screenshot.png",
      "origin_url": "https://example.com/alerts/25",
      "slack_channels": [
        "inc-20-03-09-uptime-homepage-not-found"
      ],
      "started_at": "2020-03-09T17:37:56.662Z",
      "acknowledged_at": null,
      "acknowledged_by": null,
      "resolved_at": null,
      "resolved_by": null,
      "domain_expires_at": "2026-12-31T00:00:00Z",
      "ssl_certificate_expires_at": "2026-12-31T00:00:00Z",
      "metadata": {
        "Affected Services": [
          {
            "type": "String",
            "value": "Homepage"
          },
          {
            "type": "String",
            "value": "Login"
          }
        ]
      },
      "team_id": "t123",
      "team_name": "Testing team"
    },
    "relationships": {
      "monitor": {
        "data": {
          "id": "2",
          "type": "monitor"
        }
      },
      "heartbeat": {
        "data": {
          "id": "3",
          "type": "heartbeat"
        }
      }
    }
  },
  "included": [
    {
      "id": "2",
      "type": "monitor",
      "attributes": {
        "url": "https://uptime.betterstack.com",
        "monitor_type": "status",
        "pronounceable_name": "Uptime homepage",
        "monitor_group_id": "12345",
        "paused": false,
        "check_frequency": 30,
        "effective_check_frequency": 60,
        "effective_check_frequency_reason": "slowed_down",
        "request_timeout": 15,
        "recovery_period": 0,
        "confirmation_period": 120,
        "required_keyword": "We call you",
        "http_method": "get",
        "request_body": "{\"query\": \"health\"}",
        "request_headers": [
          {
            "name": "X-Custom-Header",
            "value": "custom header value"
          }
        ],
        "expected_status_codes": [
          200,
          201
        ],
        "follow_redirects": true,
        "remember_cookies": true,
        "verify_ssl": true,
        "auth_username": "basic-auth-user",
        "regions": [
          "us",
          "eu",
          "as",
          "au"
        ],
        "ip_version": "ipv4",
        "port": "25,465,587",
        "proxy_host": "proxy.example.com",
        "proxy_port": 8080,
        "email": true,
        "sms": true,
        "call": true,
        "push": true,
        "critical_alert": false,
        "team_wait": 180,
        "escalation_policy_id": "12345",
        "expiration_escalation_policy_id": "12345",
        "ssl_expiration": 7,
        "domain_expiration": 14,
        "maintenance_from": "01:02:00",
        "maintenance_to": "03:04:00",
        "maintenance_timezone": "Amsterdam",
        "maintenance_days": [
          "mon",
          "tue",
          "wed",
          "thu",
          "fri",
          "sat",
          "sun"
        ],
        "playwright_script": "import { test, expect } from '@playwright/test';\n\ntest('has title', async ({ page }) => {\n  await page.goto('https://betterstack.com/')\n  await expect(page).toHaveTitle(/Better Stack/)\n});\n",
        "scenario_name": "Better Stack homepage title",
        "environment_variables": {
          "PASSWORD": null
        },
        "status": "up",
        "last_checked_at": "2020-09-01T14:17:46.000Z",
        "paused_at": "2020-09-08T13:10:20.000Z",
        "checks_version": "v2",
        "created_at": "2020-02-18T13:38:16.586Z",
        "updated_at": "2020-09-08T13:10:20.202Z",
        "team_id": "t123",
        "team_name": "Production",
        "metadata": {
          "Service": [
            {
              "type": "String",
              "value": "Checkout"
            }
          ]
        }
      }
    },
    {
      "id": "3",
      "type": "heartbeat",
      "attributes": {
        "name": "Testing heartbeat",
        "url": "https://uptime.betterstack.com/api/v1/heartbeat/s3cr3t-placeholder",
        "status": "up",
        "paused": false,
        "period": 10800,
        "grace": 300,
        "heartbeat_group_id": "123456",
        "email": true,
        "sms": false,
        "call": false,
        "push": true,
        "critical_alert": false,
        "team_wait": 180,
        "escalation_policy_id": "456",
        "server_timezone": "Europe/London",
        "maintenance_from": "01:02:00",
        "maintenance_to": "03:04:00",
        "maintenance_timezone": "Amsterdam",
        "maintenance_days": [
          "mon",
          "tue",
          "wed",
          "thu",
          "fri",
          "sat",
          "sun"
        ],
        "paused_at": "2020-12-10T15:00:15.089Z",
        "created_at": "2020-05-05T11:41:49.327Z",
        "updated_at": "2020-12-10T15:00:15.089Z",
        "team_id": "t123",
        "team_name": "Test team",
        "metadata": {
          "Service": [
            {
              "type": "String",
              "value": "Checkout"
            }
          ]
        }
      }
    }
  ]
}

Returns the incident.

id string

The ID of the incident.

type string

Always incident.

name string or null

Incident name.

call boolean

Whether to notify by phone call. When your plan doesn't include phone calls, we skip the call and note it in the incident's timeline.

sms boolean

Whether to notify by SMS. When your plan doesn't include SMS, we skip the SMS and note it in the incident's timeline.

email boolean

Whether to notify by e-mail.

push boolean

Whether to send a push notification. When your plan doesn't include push notifications, we skip the push notification and note it in the incident's timeline.

critical_alert boolean

Whether to send a critical alert, a push notification that bypasses silent mode. A phone that has Critical alerts turned off and Push notifications on in the Better Stack app gets an ordinary push notification instead. When your plan doesn't include push notifications, we skip the critical alert and note it in the incident's timeline.

cause string or null

What triggered the incident, such as Status 500 or Missed heartbeat. For a manual incident, the cause is its summary. null when no cause was given or extracted.

status string

The incident's state. Listing returns only confirmed incidents.
Valid values:
Started: The incident is open and nobody has acknowledged it yet.
Acknowledged: Someone acknowledged the incident and it isn't resolved yet.
Resolved: The incident is resolved.
Validating: The check or alert has recovered and the recovery period runs.
Unconfirmed: The failure is still being confirmed.

shared boolean

Whether this incident belongs to another team and was escalated here.

escalation_policy_id string or null

The escalation policy for this incident. An escalation policy from another team returns a 404 error.

incident_group_id string or null

Incident group this incident is in.

url string or null

The URL the monitor checked. null for incidents a monitor didn't raise.

http_method string or null

The HTTP method of the monitor's check, such as get, post or head. null for incidents a monitor didn't raise.

regions array of strings or null

The regions the monitor was set to check from when the incident opened, any of us, eu, as and au.

response_content string or null

The text of the response that triggered the incident, with HTML removed, when it's shorter than 500 characters. Longer bodies are linked in response_url instead.

response_options string or null

Details of the check that triggered the incident, as a JSON string, such as its timings, response code and response headers.

response_url string or null

A link to the full response body that triggered the incident, when its text is 500 characters or longer.

screenshot_url string or null

URL of the screenshot we captured when the check failed.

origin_url string or null

URL to the third-party alert this incident originated from, if any.

slack_channels array of strings

Slack channels notified about the incident.

started_at datetime or null

When the incident started. null while the incident is Unconfirmed. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

acknowledged_at datetime or null

When the incident was acknowledged. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

acknowledged_by object or null

Who acknowledged the incident. null while nobody has.

acknowledged_by.name string

Full name of the team member, or the free-text attribution.

acknowledged_by.email string or null

E-mail of the team member. null when no team member acknowledged it, such as for a free-text attribution, API or Slack.

resolved_at datetime or null

When the incident was resolved. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

resolved_by object or null

Who resolved the incident. null while nobody has.

resolved_by.name string

Full name of the team member, or the free-text attribution.

resolved_by.email string or null

E-mail of the team member. null when no team member resolved it, such as for a free-text attribution, API or Slack.

relationships.monitor.data object or null

The monitor that raised the incident, for an incident a monitor raised.

relationships.monitor.data.id string

ID of the linked monitor.

relationships.monitor.data.type string

Always monitor.

relationships.heartbeat.data object or null

The heartbeat that raised the incident, for an incident a heartbeat raised.

relationships.heartbeat.data.id string

ID of the linked heartbeat.

relationships.heartbeat.data.type string

Always heartbeat.

domain_expires_at datetime

When the domain that opened this incident expires. Returned only for an incident about an expiring domain. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

ssl_certificate_expires_at datetime

When the TLS certificate that opened this incident expires. Returned only for an incident about an expiring certificate. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

metadata object

Custom metadata. Each key holds a list of values. A value is a string, written as {type: "String", value}, or a catalog reference, written as {type, item_id, name}, plus email for a User. User references are returned as u123 and team references as t123. Get a user's ID via List team members, and a team's ID via List teams. To write metadata, give each key one value or a list of values. A value can be a plain string, {value}, or a reference as {type, item_id}, {type, name} or {type, email}. An update replaces all of the incident's metadata, including keys Better Stack added such as Origin, and {} removes it all.

team_id string

Team that owns the incident, such as t123.

team_name string

Name of the team that owns the incident.

included array

Each linked monitor or heartbeat, with its id, type and attributes.

included[].id string

ID of the linked monitor or heartbeat.

included[].type string

Which one it is, monitor or heartbeat.

included[].attributes object

For a monitor record, the monitor's attributes, the same as getting the monitor returns. For a heartbeat record, the heartbeat's attributes, the same as getting the heartbeat returns.

included[].relationships.escalation_policy.data object or null

For a monitor or heartbeat, the escalation policy used for alerts, linked by its ID. Names the same policy as escalation_policy_id. null when the monitor has none.

included[].relationships.escalation_policy.data.id string

For a monitor or heartbeat, ID of the linked escalation policy.

included[].relationships.escalation_policy.data.type string

For a monitor or heartbeat, always escalation_policy.

included[].relationships.expiration_escalation_policy.data object or null

For a monitor, the escalation policy for alerts about expiring SSL certificates and domains, linked by its ID. Names the same policy as expiration_escalation_policy_id. null when the monitor has none.

included[].relationships.expiration_escalation_policy.data.id string

For a monitor, ID of the linked escalation policy.

included[].relationships.expiration_escalation_policy.data.type string

For a monitor, always escalation_policy.

Example cURL

Reopen an incident
curl --request POST \
  --url https://incidents.betterstack.com/api/v6/incidents/123456/reopen \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "reopened_by": "jane@example.com"
}'