---
title: "Create an incident"
method: POST
path: "/api/public/v1/incident"
tags: ["IncidentResource"]
---

# Create an incident

`POST /api/public/v1/incident`

## Request

- Base URL: `https://allquiet.app` (the document declares no server; this is the origin it was published from)
- URL: `https://allquiet.app/api/public/v1/incident`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/allquiet/apis/all-quiet-public-api/docs/api/public/v1/incident/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new incident in an authorized team. Subject to creation rate limits.

**Required API key permissions**

- **Scope:** `incidents:create`
- **Accepted key types:** organization API key (org-wide), organization API key (team-scoped), personal access token (org-wide), personal access token (team-scoped)
- **Access:** Operates on a single organization. Pass organizationId when your API key spans multiple organizations.
- **Organization role (user-linked keys only):** Member when the user has an explicit organization membership. Explicit organization membership is not required; team-based access applies and effective access is gated by the required team role.
- **Required team role (user-linked keys only):** Member
- Organization API keys are not subject to organization or team role checks.
- **Notes:** Target teams must belong to the resolved organization. Subject to creation rate limits.

## Query parameters

- `organizationId` string, uuid

## Request body

- AllQuietApiPublicIncidentsIncidentResourceCreateRequest
  - `title` string, required
  - `message` string, nullable
  - `messageIsPublic` boolean, nullable
  - `integrationId` string, uuid, nullable
  - `teamIds` string[], nullable
  - `status` string, required
  - `severity` string, required
  - `serviceIds` string[], nullable
  - `excludeFromUptimeCalculation` boolean, nullable
  - `statusPageStartOverride` string, date-time, nullable
  - `statusPageEndOverride` string, date-time, nullable
  - `userAssignments` AllQuietApiPublicIncidentsIncidentResourceCreateUserAssignment[], nullable
    - `userId` string, uuid
  - `attributes` AllQuietApiIncidentsUpdateAttributesOperationAttribute[], nullable
    - `name` string, required
    - `value` string, required
    - `isImage` boolean, nullable
    - `hideInPreviews` boolean, nullable
  - `publicComment` string, nullable

## Response `200`

OK

- AllQuietApiPublicIncidentsIncidentResource
  - `id` string, uuid, required
  - `title` string, nullable, required
  - `integration` AllQuietApiPublicIncidentsIncidentResourceEntityDto, required
    - `id` string, uuid, required
    - `displayName` string, nullable, required
  - `createdAt` string, date-time, nullable, required
  - `lastUpdatedAt` string, date-time, required
  - `attributes` AllQuietApiPublicIncidentsIncidentResourceAttribute[], nullable, required
    - `name` string, nullable, required
    - `value` string, nullable, required
    - `isImage` boolean, required
    - `isGroupingKey` boolean, required
    - `hideInPreviews` boolean, required
    - `voiceMail` AllQuietApiPublicIncidentsIncidentResourceVoiceMail
      - `downloadUrl` string, nullable, required: API-key URL for the voicemail file. Requires incidents:get. Follow the redirect to download the audio.
      - `privateDownloadUrl` string, nullable, required: Signed-in web app URL for the voicemail file.
  - `events` AllQuietApiPublicIncidentsIncidentResourceEvent[], nullable, required
    - `severity` string, nullable, required
    - `status` string, nullable, required
    - `modification` AllQuietApiPublicIncidentsIncidentResourceModification, required
      - `timestamp` string, date-time, required
      - `intent` string, nullable, required
      - `user` AllQuietApiPublicIncidentsIncidentResourceUser, required
        - `id` string, uuid
        - `displayName` string, nullable, required
        - `avatarUrl` string, nullable, required
        - `email` string, nullable, required
      - `externalUser` AllQuietApiPublicIncidentsIncidentResourceUserExternal, required
        - `id` string, nullable, required
        - `displayName` string, nullable, required
        - `avatarUrl` string, nullable, required
        - `provider` string, nullable, required
    - `userAssignments` AllQuietApiPublicIncidentsIncidentResourceUser[], nullable, required
      - `id` string, uuid
      - `displayName` string, nullable, required
      - `avatarUrl` string, nullable, required
      - `email` string, nullable, required
    - `onCallUsers` AllQuietApiPublicIncidentsIncidentResourceUser[], nullable, required
      - `id` string, uuid
      - `displayName` string, nullable, required
      - `avatarUrl` string, nullable, required
      - `email` string, nullable, required
    - `message` string, nullable, required
    - `messageIsPublic` boolean, nullable, required
    - `unattended` boolean, required
    - `teams` AllQuietApiPublicIncidentsIncidentResourceEntityDto[], nullable, required
      - `id` string, uuid, required
      - `displayName` string, nullable, required
    - `attributeChanges` AllQuietApiPublicIncidentsIncidentResourceAttributeChange[], nullable, required
      - `name` string, nullable, required
      - `newValue` string, nullable, required
      - `oldValue` string, nullable, required
  - `eventsTotalCount` integer, required
  - `services` AllQuietApiPublicIncidentsIncidentResourceEntityDto[], nullable, required
    - `id` string, uuid, required
    - `displayName` string, nullable, required
  - `sourceUser` AllQuietApiPublicIncidentsIncidentResourceUser, required
    - `id` string, uuid
    - `displayName` string, nullable, required
    - `avatarUrl` string, nullable, required
    - `email` string, nullable, required
  - `unattended` boolean, required
  - `isArchived` boolean, required
  - `onCallUsers` AllQuietApiPublicIncidentsIncidentResourceUser[], nullable, required
    - `id` string, uuid
    - `displayName` string, nullable, required
    - `avatarUrl` string, nullable, required
    - `email` string, nullable, required
  - `teams` AllQuietApiPublicIncidentsIncidentResourceEntityDto[], nullable, required
    - `id` string, uuid, required
    - `displayName` string, nullable, required
  - `snoozed` AllQuietApiPublicIncidentsIncidentResourceSnoozingProperties, required
    - `snoozedUntil` string, date-time, nullable, required
  - `subIncidents` AllQuietApiPublicIncidentsIncidentResourceSubIncident[], nullable, required
    - `id` string, uuid, required
    - `title` string, nullable, required
    - `events` AllQuietApiPublicIncidentsIncidentResourceSubIncidentEvent[], nullable, required
      - `severity` string, nullable, required
      - `status` string, nullable, required
      - `modification` AllQuietApiPublicIncidentsIncidentResourceModification, required
        - `timestamp` string, date-time, required
        - `intent` string, nullable, required
        - `user` AllQuietApiPublicIncidentsIncidentResourceUser, required
          - `id` string, uuid
          - `displayName` string, nullable, required
          - `avatarUrl` string, nullable, required
          - `email` string, nullable, required
        - `externalUser` AllQuietApiPublicIncidentsIncidentResourceUserExternal, required
          - `id` string, nullable, required
          - `displayName` string, nullable, required
          - `avatarUrl` string, nullable, required
          - `provider` string, nullable, required
      - `attributeChanges` AllQuietApiPublicIncidentsIncidentResourceAttributeChange[], nullable, required
        - `name` string, nullable, required
        - `newValue` string, nullable, required
        - `oldValue` string, nullable, required
    - `attributes` AllQuietApiPublicIncidentsIncidentResourceAttribute[], nullable, required
      - `name` string, nullable, required
      - `value` string, nullable, required
      - `isImage` boolean, required
      - `isGroupingKey` boolean, required
      - `hideInPreviews` boolean, required
      - `voiceMail` AllQuietApiPublicIncidentsIncidentResourceVoiceMail
        - `downloadUrl` string, nullable, required: API-key URL for the voicemail file. Requires incidents:get. Follow the redirect to download the audio.
        - `privateDownloadUrl` string, nullable, required: Signed-in web app URL for the voicemail file.
    - `lastUpdatedAt` string, date-time, required
    - `createdAt` string, date-time, nullable, required
  - `allowedIntents` string[], nullable, required
  - `canDelete` boolean, nullable
  - `excludeFromUptimeCalculation` boolean
  - `statusPageStartOverride` string, date-time, nullable
  - `statusPageEndOverride` string, date-time, nullable

---

[API](https://skmtc.dev/allquiet/apis/all-quiet-public-api.md) - [All operations](https://skmtc.dev/allquiet/apis/all-quiet-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/allquiet/apis/all-quiet-public-api/revisions/bd7da0475359?raw)
