Incidents

Receive Prometheus Alertmanager events

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

Accepts the standard version-4 Alertmanager webhook with at most 20 alerts and no truncation. Requires both incidents:ingest and incidents:write on the current API key; test/live isolation follows the key. Keep sourceId stable for each independent Alertmanager source and shared across its HA replicas. No Idempotency-Key is required. Per-alert fingerprint and nanosecond startsAt ordering deduplicate retries and fence delayed recovery. A recovery received before firing records a terminal source episode without creating an incident. Repeated firing cannot reopen a manually resolved episode; a newer startsAt may open another incident. The whole batch, its clock, incident cancellation and queue intent commit atomically. The body is limited to 256 KiB. See /docs/incident-alertmanager for receiver configuration.

Requestcurl -X POST https://api.transmit.dev/v1/integrations/alertmanager/{configurationId}/{escalationPolicyId}/{sourceId} \
  -H "Authorization: Bearer tr_v2_…" \
  -H "Content-Type: application/json" \
  -d '{
       "version": "4",
       "truncatedAlerts": 0,
       "alerts": [
         {
           "status": "firing",
           "fingerprint": "0011223344556677",
           "startsAt": "2026-10-21T00:00:00Z",
           "endsAt": "0001-01-01T00:00:00Z",
           "labels": {
             "alertname": "DatabaseDown",
             "severity": "critical"
           },
           "annotations": {
             "summary": "Database unavailable"
           }
         }
       ]
     }'

Parameters

NameInNotes
configurationId requiredpathRouting resource UUID in the API key's workspace.
escalationPolicyId requiredpathRouting resource UUID in the API key's workspace.
sourceId requiredpathStable UUID identifying one independent Alertmanager source.

Body

FieldTypeNotes
version requiredstring
truncatedAlertsnumberdefaults to 0
alerts requiredobject[]at most 20

Responses

StatusMeaning
200Committed batch with source-ordering results
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 256 KiB
415Use application/json
422Invalid, truncated or excessive batch, or invalid episode times

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