Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
post_mortem_template created
Creates a new Retrospective Template from provided data
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"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
post_mortem_template created
Show child attributes
Was this page helpful?
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"
}
}
}