POST
/
v1
/
post_mortem_templates
Creates a retrospective template
curl --request POST \
  --url https://api.rootly.com/v1/post_mortem_templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "post_mortem_templates",
    "attributes": {
      "name": "<string>",
      "default": true,
      "content": "<string>",
      "format": "html"
    }
  }
}'
{
  "data": {
    "id": "cb5c23ca-6842-458e-968f-43097a5162f0",
    "type": "post_mortem_templates",
    "attributes": {
      "name": "My Retrospective Template",
      "slug": "my-retrospective-template",
      "format": "markdown",
      "default": false,
      "content": "## Test template\n\n### Test new line",
      "created_at": "2025-09-16T04:49:11.756-07:00",
      "updated_at": "2025-09-16T04:49:11.759-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

post_mortem_template created

data
object
required