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

# Create Incident

`POST /incidents`

## Request body

- CreateIncidentRequestData
  - `name` string, required
  - `status` 0 | 1 | 2 | 3 | 4, required
  - `message` string, nullable
  - `template` string, nullable
  - `visible` boolean
  - `stickied` boolean
  - `notifications` boolean
  - `occurred_at` string, date-time, nullable
  - `published_at` string, date-time, nullable
  - `template_vars` string[]
  - `component_id` integer, nullable
  - `component_status` 1 | 2 | 3 | 4 | 5 | 6
  - `components` IncidentComponentRequestData[], nullable
    - `id` integer, required
    - `status` 1 | 2 | 3 | 4 | 5 | 6, required
  - `meta` object, nullable

## Response `200`

`Incident`

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `422` — Validation error

---

[API](https://skmtc.net/cachethq/apis/cachet.md) · [All operations](https://skmtc.net/cachethq/apis/cachet/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cachethq/cachet/revisions/1cae90969eb9/schema)
