Skip to main content
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": "678091d1-ec77-41e3-b306-e313e1c9a428",
    "type": "post_mortem_templates",
    "attributes": {
      "name": "Template with Blocks",
      "slug": "template-with-blocks",
      "format": "html",
      "default": false,
      "content": "<div class=\"trix-content\">\n  <p>Before</p><div class=\"followups-node-placeholder\"></div><div class=\"timeline-node-placeholder\"></div><p>After</p>\n</div>\n",
      "content_html": "<p>Before</p><div data-sort=\"due_date\" data-followup-component=\"true\" class=\"followups-node-placeholder\"></div><div data-timeline-component=\"true\" class=\"timeline-node-placeholder\"></div><p>After</p>",
      "content_json": null,
      "created_at": "2026-01-16T12:43:16.590-08:00",
      "updated_at": "2026-01-16T12:43:16.596-08: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 with TipTap blocks

data
object
required