Create Postmortem
POST {{baseUrl}}/incidents/:incidentID/postmortem
- This endpoint is used to get all postmortems.
- Requires
access_token
as aBearer {{token}}
in theAuthorization
header.
Request Body
{"owner_id"=>"<string>", "title"=>"test incident", "postmortem"=>"### This is the title", "status"=>"published", "follow_ups"=>[{"task"=>"need to do", "is_done"=>true}], "attachments"=>[{"key"=>"<string>", "mime_type"=>"<string>", "file_size"=>"<int>"}]}
RESPONSES
status: Created
{"data":{"id":"65548d9d9df7a39002c9e7f5","organization_id":"60cb200bc9de4a0008d2fc41","incident_id":"65548cfa8afbcb037a43737b","postmortem":"### This is the title","follow_ups":[{"task":"need to do","is_done":true}],"created_at":"2023-11-15T09:21:33.611265114Z","title":"test incident","status":"in_progress","owner":{"id":"62442e4182c4725938208e11","type":"team"},"access_control":[],"attachments":[]}}