---
title: "Create Incident Template"
method: POST
path: "/incident-templates"
tags: ["Incident Templates"]
---

# Create Incident Template

`POST /incident-templates`

## Request body

- CreateIncidentTemplateRequestData
  - `name` string, required
  - `template` string, required
  - `engine` 'blade' | 'twig'

## Response `200`

`IncidentTemplate`

- object
  - `data` IncidentTemplate, required
    - `id` string, required
    - `type` 'incidentTemplates', required
    - `attributes` object
      - `id` integer, required
      - `name` string, required
      - `slug` string, required
      - `template` string, required
      - `engine` 'blade' | 'twig', required
      - `created` object, required
        - `human` string, required
        - `string` string, required
      - `updated` object, required
        - `human` string, required
        - `string` string, required

## Other responses

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

## Changes

- **2025-06-02** `9ad32c73fe39` — 1 breaking, 2 warning
  - the `data/attributes/id` response's property type changed from `string` to `integer` for status `200`
  - added the new `blade` enum value to the `data/attributes/engine` response property for the response status `200`
  - added the new `twig` enum value to the `data/attributes/engine` response property for the response status `200`

[Change history](https://skmtc.dev/cachethq/apis/cachet/changes/incident-templates/post.md)

---

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