Skip to main content
POST
/
incident
/
post-mortem
/
init
Initialize post-mortem
curl --request POST \
  --url 'https://api.flashcat.cloud/incident/post-mortem/init?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "incident_ids": [
    "69bb9233331067560c718ecd"
  ],
  "template_id": "post_mortem_default_tmpl_en-us"
}
'
{
  "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
  "data": {
    "meta": {
      "account_id": 2451002751131,
      "title": "Postmortem1",
      "status": "published",
      "post_mortem_id": "8104935102bf89dc01ac638a5261fe7e",
      "template_id": "post_mortem_default_tmpl_en-us",
      "incident_ids": [
        "69bb9233331067560c718ecd"
      ],
      "media_count": 0,
      "author_ids": [
        2477273692131
      ],
      "team_id": 2477033058131,
      "channel_id": 3047621227131,
      "is_private": false,
      "channel_name": "Ops Channel",
      "created_at_seconds": 1773900354,
      "updated_at_seconds": 1773909012
    },
    "basics": {
      "incidents_highest_severity": "Warning",
      "incidents_earliest_start_seconds": 1761133512,
      "incidents_latest_close_seconds": 1761133632,
      "incidents_total_duration_seconds": 120,
      "responders": [
        {
          "person_id": 3790925372131,
          "assigned_at": 1761133515,
          "acknowledged_at": 0
        }
      ]
    },
    "content": {
      "content": "{\"type\":\"doc\",\"content\":[]}"
    },
    "follow_ups": ""
  }
}

Restrictions

AspectValue
Rate limits1,000 requests/minute; 50 requests/second per account
PermissionsIncidents Manage (on-call)

Usage

  • Links at most 10 incidents to one post-mortem report.
  • Every call is recorded in the account audit log. Don’t put secrets in request fields.

Authorizations

app_key
string
query
required

App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Body

application/json

Parameters for initializing a post-mortem report from incidents.

incident_ids
string[]
required

Incident IDs to link to the report. 1-10 incidents.

Required array length: 1 - 10 elements
template_id
string
required

Template ID used to initialize the report.

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object
required

Full post-mortem report including basics, content and follow-ups.