OpsGenie Alerts API

Operations for creating, retrieving, updating, and managing alerts within the OpsGenie platform.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Incident Response Management BC-4220.30

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/alerts Create an alert · Create alert #
Ask an LLM
“How do I send an alert into OpsGenie from my monitoring system?”
“Can I set a priority and responders when creating an alert?”
Tell an agent
Create an alert with message {message}.
Create alert {message} with priority {priority} and responders {responders}.
GET /v2/alerts List alerts · List alerts #
Ask an LLM
“Which alerts are open in OpsGenie right now?”
“Can I search alerts by alias or message?”
Tell an agent
List all alerts.
Find alerts matching {query}.
GET /v2/alerts/{identifier} Get an alert · Get alert #
Ask an LLM
“What are the details of a specific alert?”
“Can I look up an alert by its tiny ID?”
Tell an agent
Get alert {identifier}.
Show the details of alert {identifier}.
DELETE /v2/alerts/{identifier} Delete an alert · Delete alert #
Ask an LLM
“How do I delete an alert that was sent by mistake?”
“Can I remove an alert by its alias?”
Tell an agent destructive · confirm first
Delete alert {identifier}.
Remove the alert with alias {identifier}.
POST /v2/alerts/{identifier}/close Close an alert · Close alert #
Ask an LLM
“How do I close an alert once the incident is resolved?”
“Can I add a note when closing an alert?”
Tell an agent
Close alert {identifier}.
Close alert {identifier} with note {note}.
POST /v2/alerts/{identifier}/acknowledge Acknowledge an alert · Acknowledge alert #
Ask an LLM
“How do I acknowledge an alert so it stops pinging?”
“Can I acknowledge an alert from my own user name?”
Tell an agent
Acknowledge alert {identifier}.
Acknowledge alert {identifier} as {user}.
POST /v2/alerts/{identifier}/unacknowledge Unacknowledge an alert · Unacknowledge alert #
Ask an LLM
“How do I undo an acknowledgment on an alert?”
“Can I unacknowledge an alert I acknowledged by mistake?”
Tell an agent
Unacknowledge alert {identifier}.
Remove the acknowledgment from alert {identifier}.
POST /v2/alerts/{identifier}/snooze Snooze an alert · Snooze alert #
Ask an LLM
“How do I snooze an alert until a later time?”
“Can I snooze an alert for a set duration?”
Tell an agent
Snooze alert {identifier} until {endTime}.
Snooze alert {identifier} until {endTime} with note {note}.
POST /v2/alerts/{identifier}/escalate Escalate an alert · Escalate alert #
Ask an LLM
“How do I escalate an alert to a higher escalation path?”
“Can I escalate an alert to a schedule?”
Tell an agent
Escalate alert {identifier} to {escalation}.
Escalate alert {identifier} to {escalation} with note {note}.
POST /v2/alerts/{identifier}/assign Assign an alert · Assign alert #
Ask an LLM
“How do I assign an alert to a specific person?”
“Can I assign an alert to an escalation path?”
Tell an agent
Assign alert {identifier} to {owner}.
Assign alert {identifier} to {owner} with note {note}.
POST /v2/alerts/{identifier}/tags Add tags to an alert · Add tags to alert #
Ask an LLM
“How do I tag an alert for filtering later?”
“Can I add several tags to an alert at once?”
Tell an agent
Add tags {tags} to alert {identifier}.
Tag alert {identifier} with {tags}.
DELETE /v2/alerts/{identifier}/tags Remove tags from an alert · Remove tags from alert #
Ask an LLM
“How do I remove tags from an alert?”
“Can I strip specific tags off an alert?”
Tell an agent destructive · confirm first
Remove tags {tags} from alert {identifier}.
Untag alert {identifier} by removing {tags}.
POST /v2/alerts/{identifier}/notes Add a note to an alert · Add note to alert #
Ask an LLM
“How do I add a note to an alert for my team?”
“Can I attach a note to an alert when I acknowledge it?”
Tell an agent
Add note {note} to alert {identifier}.
Attach note {note} to alert {identifier} as {user}.
GET /v2/alerts/{identifier}/notes List the notes on an alert · List alert notes #
Ask an LLM
“What notes have been added to an alert?”
“Can I see the history of notes on an alert?”
Tell an agent
List the notes on alert {identifier}.
Show {limit} notes on alert {identifier}.
POST /v2/alerts/{identifier}/details Add custom details to an alert · Add details to alert #
Ask an LLM
“How do I attach custom key-value details to an alert?”
“Can I add details to an alert after it's created?”
Tell an agent
Add details {details} to alert {identifier}.
Set custom details {details} on alert {identifier}.
POST /v2/alerts/{identifier}/responders Add a responder to an alert · Add responder to alert #
Ask an LLM
“How do I add a team to an alert that's already open?”
“Can I add a schedule as a responder to an alert?”
Tell an agent
Add responder {responder} to alert {identifier}.
Route alert {identifier} to {responder} with note {note}.
POST /v2/alerts/{identifier}/attachments Add a file attachment to an alert · Add attachment to alert #
Ask an LLM
“How do I attach a log file to an alert?”
“Can I upload a file to an alert?”
Tell an agent
Add file {file} as an attachment to alert {identifier}.
Attach {file} to alert {identifier}.
GET /v2/alerts/{identifier}/attachments List file attachments on an alert · List alert attachments #
Ask an LLM
“Which files are attached to an alert?”
“Can I see the attachments on an alert?”
Tell an agent
List the attachments on alert {identifier}.
Show the files attached to alert {identifier}.
GET /v2/alerts/{identifier}/logs List the activity logs for an alert · List alert logs #
Ask an LLM
“What has happened to an alert over time?”
“Can I see the activity log for an alert?”
Tell an agent
List the activity logs for alert {identifier}.
Show {limit} log entries for alert {identifier}.
GET /v2/alerts/{identifier}/recipients List who an alert was sent to · List alert recipients #
Ask an LLM
“Which teams and users received an alert?”
“Who are the recipients of a specific alert?”
Tell an agent
List the recipients of alert {identifier}.
Show who alert {identifier} was sent to.
GET /v2/alerts/count Count alerts matching a search · Count alerts #
Ask an LLM
“How many alerts match a particular search query?”
“Can I count alerts by a saved search identifier?”
Tell an agent
Count the alerts matching {query}.
Count alerts using saved search {searchIdentifier} of type {searchIdentifierType}.
GET /v2/alerts/requests/{requestId} Check the status of an alert action request · Get request status #
Ask an LLM
“Has my asynchronous alert action finished processing?”
“What alert details came back from an alert action request?”
Tell an agent
Get the status of alert action request {requestId}.
Check whether alert action request {requestId} succeeded.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/opsgenie:opsgenie-alerts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

opsgenie-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpsGenie Alert Alerts API
  description: The OpsGenie Alert API allows developers to programmatically create, update, close, and manage alerts within the OpsGenie incident management platform. Alert creation, deletion, and action requests are processed asynchronously to provide higher availability and scalability. The API supports setting alert priorities, adding responders such as teams, users, escalations, and schedules, attaching tags and custom details, and managing alert notes and acknowledgments.
  version: 2.0.0
  contact:
    name: Atlassian Support
    url: https://support.atlassian.com/opsgenie/
  termsOfService: https://www.atlassian.com/legal/cloud-terms-of-service
servers:
- url: https://api.opsgenie.com
  description: Production Server
- url: https://api.eu.opsgenie.com
  description: EU Production Server
security:
- genieKey: []
tags:


# --- truncated at 32 KB (41 KB total) ---
# Full source: https://artifacts.apis.io/opsgenie/openapi/opsgenie-alerts-api-openapi.yml