Incidents

Receive Datadog monitor webhooks

POST/v1/integrations/datadog/{configurationId}/{escalationPolicyId}requires incidents:ingest

Accepts the body produced by the documented Datadog webhook payload template. transition Recovered resolves the active incident for the aggregate key; every other transition opens or joins one. $ALERT_PRIORITY P1–P5 sets severity; otherwise warnings are medium and alerts high. Requires both incidents:ingest and incidents:write. Body limit 64 KiB. See /docs/incident-datadog.

Requestcurl -X POST https://api.transmit.dev/v1/integrations/datadog/{configurationId}/{escalationPolicyId} \
  -H "Authorization: Bearer tr_v2_…" \
  -H "Content-Type: application/json" \
  -d '{
       "alert_id": "12345",
       "aggregate": "a1b2c3",
       "transition": "Triggered",
       "title": "[Triggered] Database unavailable",
       "body": "Primary is refusing connections.",
       "priority": "P1",
       "link": "https://app.datadoghq.com/monitors/12345"
     }'

Parameters

NameInNotes
configurationId requiredpathRouting resource UUID in the API key's workspace.
escalationPolicyId requiredpathRouting resource UUID in the API key's workspace.

Body

FieldTypeNotes
alert_idstringat most 128 characters. defaults to ""
aggregatestringat most 256 characters. defaults to ""
transition requiredstring1–64 characters
title requiredstring1–1000 characters
bodystringat most 20000 characters. defaults to ""
prioritystringat most 16 characters. defaults to ""
linkstringat most 2048 characters. defaults to ""

Responses

StatusMeaning
200Committed outcome
401The API key is missing, malformed, expired or revoked
403The API key lacks the incidents:ingest scope
404Routing resources are outside this workspace
413Body exceeds 64 KiB
415Use application/json
422Invalid event

Every response body is described in the OpenAPI spec, which this page is generated from.