Alerts
Lookup Alerts
Bulk-fetch alerts by ID — capped at 100 per call
POST
Overview
Polling pattern: when your webhook handler skips a delivery (offline, crash, hand-off between workers), persist thewebhook-id values you’ve
seen and reconcile by calling POST /v1/alerts/lookup to confirm
end-to-end delivery.
ID handling:
- Malformed IDs or IDs of the wrong type (anything that is not a
well-formed
alt_*ID) fail the whole request with400 validation_error. The error detail lists each offending entry by index (ids[3]), so programming errors surface immediately instead of being silently swallowed. - Well-formed but unknown IDs — and IDs that belong to another organization — are silently dropped from the result (no information disclosure). Any gap between the IDs you sent and the alerts you got back is real.
GET /v1/alerts/{id}for an unknown/foreign ID returns404.
Lookup is a read-shaped operation, so the
Idempotency-Key header is
accepted but no longer required. Sending one (as in the example below)
is always safe — the header is format-validated and otherwise ignored.Body Parameters
1—100 alert IDs (
alt_*).Response
Always
"list".Array of
Alert objects (order is not guaranteed to match input).Request identifier.