Skip to main content
POST
Close Alert (OpsGenie)
Close an alert, setting its status to resolved. The most common pattern is to close by alias - pass identifierType=alias and use the same alias you set when creating the alert.

Typical workflow

Create the alert with a stable alias, then close it by that alias when the issue resolves:
Lookup by alias only matches alerts currently open or acknowledged (the same window during which a repeat create dedups). If the alias has no live alert, the endpoint returns an error response with the message "No open alert found with alias: {your-alias}".

Authorizations

Authorization
string
header
required

Bearer token using your Warrn API key.

Path Parameters

identifier
string
required

Query Parameters

identifierType
enum<string>
default:id
Available options:
id,
alias,
tiny

Response

Accepted

result
string
Example:

"Request will be processed"

took
number
Example:

0

requestId
string<uuid>