{"id":"3d4dbdf5-d0a9-46bf-bc82-e06743d8bc60","task":"Create and manage alerts in Opsgenie using the REST API","domain":"support.atlassian.com","steps":["Obtain an Opsgenie API key from Settings > API key management with the appropriate integration type (API integration for programmatic access)","Create an alert via POST to 'https://api.opsgenie.com/v2/alerts' with 'Authorization: GenieKey YOUR_KEY' header and JSON body containing 'message' (required, max 130 chars), 'alias' (dedup key), 'description', 'priority', and 'tags'","Acknowledge an alert by POST to '/v2/alerts/{identifier}/acknowledge' with body '{\"user\": \"system\", \"note\": \"Ack reason\"}' where identifier is the alert ID or alias with '?identifierType=alias'","Close an alert via POST to '/v2/alerts/{identifier}/close' with a note body; this marks the alert resolved and stops escalations","List active alerts via GET '/v2/alerts' with query parameters 'query' (Opsgenie query syntax), 'limit', and 'sort' to retrieve open alerts programmatically"],"gotchas":["The 'alias' field is used for deduplication; alerts with the same alias are deduplicated within a two-minute window — outside that window a new alert is created with the same alias","Opsgenie has two API endpoint regions (US: api.opsgenie.com, EU: api.eu.opsgenie.com); using the wrong regional endpoint returns 401 even with a valid key","Alert 'message' has a 130-character hard limit; exceeding it silently truncates the message rather than returning a validation error in some API versions"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:30.487Z"},"url":"https://mcp.waymark.network/r/3d4dbdf5-d0a9-46bf-bc82-e06743d8bc60"}