Create Alert (OpsGenie)
Create Alert
Create an alert using OpsGenie API v2 format.
POST
Create Alert (OpsGenie)
Create an alert using the OpsGenie request format. Warrn transforms the payload to its native shape, so existing OpsGenie integrations work without code changes.
A few mappings worth knowing:
message→ alert name (truncated past 255 chars; the full string lands in metadata).priority→ severity:P1→ critical,P2→ high,P3→ medium,P4/P5→ low.responders[0](wheretype: "team") → resolved to a Warrn team by name.entity→ resolved to a service by name match.details→ alert metadata.- An
opsgenie-migratedtag is added automatically.
Authorizations
Bearer token using your Warrn API key.
Body
application/json
Alert message. Maps to alert name in Warrn.
Maximum string length:
255Stable alias for deduplication and later lookup.
P1→critical, P2→high, P3→medium, P4/P5→low.
Available options:
P1, P2, P3, P4, P5 Resolved to a service by name match.