---
title: "Create Incident"
method: POST
path: "/incident/create"
tags: ["Incidents"]
---

# Create Incident

`POST /incident/create`

Create a new incident.

## Headers

- `x-api-id` string, required
- `x-api-key` string, required

## Request body

- object
  - `statuspage_id` string, required — ID of the status page
  - `all_infrastructure_affected` string, required — Apply to all components and containers. Set to `1` to affect all infrastructure, `0` to use specific infrastructure_affected list (default: `0`).
  - `infrastructure_affected` string[], required
  - `incident_name` string, required — Descriptive title for the incident
  - `incident_details` string, required — Message describing this incident
  - `current_status` 100 | 300 | 400 | 500 | 600, required — The status of the components and containers affected by this incident.
  - `current_state` 100 | 200 | 300 | 400, required — The state of this incident.
  - `social` string, required — Automatically post this update to Twitter/X. Set to `1` to post a message, `0` to skip.
  - `notify_email` string — Notify email subscribers. Set to `1` to send notification, `0` to skip.
  - `notify_sms` string — Notify SMS subscribers. Set to `1` to send notification, `0` to skip.
  - `notify_webhook` string — Notify webhook subscribers. Set to `1` to send notification, `0` to skip.
  - `irc` string — Notify IRC channel. Set to `1` to send notification, `0` to skip.
  - `msteams` string — Notify Microsoft Teams channels. Set to `1` to send notification, `0` to skip.
  - `slack` string — Notify Slack channels. Set to `1` to send notification, `0` to skip.
  - `message_subject` string — The message subject for email notifications. [How to use variables in the message subject](http://kb.status.io/notifications/message-subject-variables/)

## Response `200`

OK

- object
  - `result` string
  - `status` object
    - `error` string
    - `message` string

---

[API](https://skmtc.net/status/apis/status-io-api-v2.md) · [All operations](https://skmtc.net/status/apis/status-io-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/status/status-io-api-v2/revisions/6054bf6d1a84/schema)
