---
title: "Set incident priority"
method: POST
path: "/incidents/priority"
tags: ["Incident Actions"]
---

# Set incident priority

`POST /incidents/priority`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/incidents/priority`
- Auth: none declared. Required headers: `x-api-key`, `x-team-id`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/incidents/priority/post.ts> (a function with typed inputs; its response is checked against the schema)

Set priority for one or more incidents

## Headers

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

## Request body

- object
  - `ids` string[], required: Array of incident counter IDs
  - `priority` 'p1' | 'p2' | 'p3' | 'p4' | 'p5', required: Priority level

## Response `200`

Priority set successfully

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/spike/apis/spike-sh-api.md) - [All operations](https://skmtc.dev/spike/apis/spike-sh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spike/apis/spike-sh-api/revisions/6854629119aa?raw)
