---
title: "List postmortem templates"
method: GET
path: "/api/v2/incidents/config/postmortem-templates"
tags: ["Incidents"]
---

# List postmortem templates

`GET /api/v2/incidents/config/postmortem-templates`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/incidents/config/postmortem-templates`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Retrieve a list of all postmortem templates for incidents.

## Response `200`

OK

- PostmortemTemplatesResponse: Response containing a list of postmortem templates.
  - `data` PostmortemTemplateDataResponse[], required: An array of postmortem template data objects.
    - `attributes` PostmortemTemplateAttributesResponse, required: Attributes of a postmortem template returned in a response.
      - `createdAt` string, date-time, required: When the template was created
      - `modifiedAt` string, date-time, required: When the template was last modified
      - `name` string, required: The name of the template
    - `id` string, required: The ID of the template
    - `type` 'postmortem_template', required: Postmortem template resource type

## Other responses

- `400`: Bad Request
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
