Create and manage alerts in Opsgenie using the REST API

domain: support.atlassian.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain an Opsgenie API key from Settings > API key management with the appropriate integration type (API integration for programmatic access)
  2. 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'
  3. 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'
  4. Close an alert via POST to '/v2/alerts/{identifier}/close' with a note body; this marks the alert resolved and stops escalations
  5. List active alerts via GET '/v2/alerts' with query parameters 'query' (Opsgenie query syntax), 'limit', and 'sort' to retrieve open alerts programmatically

Known gotchas

Related routes

Configure alert routing and escalation policies in JSM Operations (the Opsgenie successor) via the Atlassian API
support.atlassian.com/jira-service-management · 6 steps · unrated
Create incidents and manage severities programmatically via the incident.io REST API
api-docs.incident.io · 6 steps · unrated
Migrate Opsgenie alert workflows to Jira Service Management Operations before the April 2027 shutdown
support.atlassian.com/opsgenie · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans