provider Incidents POST /api/v2/incidents/{incident_id}/attachments/postmortems
@utdk/datadog /api/v2/incidents/{incident_id}/attachments/postmortems
Create postmortem attachment
Create a postmortem attachment for an incident. The endpoint accepts markdown for notebooks created in Confluence or Google Docs. Postmortems created from notebooks need to be formatted using frontend notebook cells, in addition to markdown format.
incident_id path required
The ID of the incident
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createincidentpostmortemattachment
POST/api/v2/incidents/{incident_id}/attachments/postmortems
Create a postmortem attachment for an incident. The endpoint accepts markdown for notebooks created in Confluence or Google Docs. Postmortems created from notebooks need to be formatted using frontend notebook cells, in addition to markdown format.

Parameters

required

The ID of the incident

Input

required

Postmortem attachment data

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.createincidentpostmortemattachment()