Uptimely
API referenceIncidents

Save an incident's postmortem

PUT
/v1/incidents/{incident_id}/postmortem

Saves (or clears, with an empty string) the incident's postmortem note. Omitting the publish settings keeps the incident's current ones, so a plain save never publishes by accident. PUT is naturally idempotent — no Idempotency-Key needed.

Authorization

bearerAuth
AuthorizationBearer <token>

An uptimely_live_ project API key (Settings → API Keys).

In: header

Path Parameters

incident_id*string

Incident id.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/v1/incidents/497f6eca-6276-4993-bfeb-53cbbbba6f08/postmortem" \  -H "Content-Type: application/json" \  -d '{    "postmortem_note": "string"  }'
{  "saved": true,  "published": true,  "note_changed": true}