---
title: "Create a new incident"
method: POST
path: "/projects/{project_id}/incidents"
tags: ["Status Page"]
---

# Create a new incident

`POST /projects/{project_id}/incidents`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/incidents`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Request body

- CreateIncidentRequest
  - `description` string, nullable
  - `environment_id` integer, nullable
  - `is_public` boolean: Show `message` on published status pages. Ignored without a message.
  - `message` string, nullable: First update, written by a person. When present it replaces the automatic "Incident created" entry and can be made public at once.
  - `monitor_id` integer, nullable
  - `public_title` string, nullable: Heading shown on published status pages, e.g. "Delayed email delivery". Omit to keep the severity-derived heading.
  - `severity` string, required
  - `status` string, nullable: Initial status (default `investigating`). `resolved` records an incident that is already over, e.g. a post-mortem for a past outage.
  - `title` string, required: Internal title. Never published; see `public_title`.

## Response `201`

Incident created successfully

- IncidentResponse
  - `created_at` string, date-time, required
  - `description` string, nullable
  - `environment_id` integer, nullable
  - `id` integer, required
  - `monitor_id` integer, nullable
  - `project_id` integer, required
  - `public_title` string, nullable: Heading shown on published status pages, when one was written.
  - `resolved_at` string, date-time, nullable
  - `severity` string, required
  - `started_at` string, date-time, required
  - `status` string, required
  - `title` string, required: Internal title; never published.
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-10-30** `f6acc7f7403e`: 5 info
  - added the new optional request property `is_public`
  - added the new optional request property `message`
  - added the new optional request property `public_title`
  - added the new optional request property `status`
  - …1 more
- **2026-04-25** `774be20905f2`: 3 info
  - the endpoint scheme security `bearer_auth` was added to the API
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/incidents/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
