Skip to main content
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] (where type: "team") → resolved to a Warrn team by name.
  • entity → resolved to a service by name match.
  • details → alert metadata.
  • An opsgenie-migrated tag is added automatically.

Authorizations

Authorization
string
header
required

Bearer token using your Warrn API key.

Body

application/json
message
string
required

Alert message. Maps to alert name in Warrn.

Maximum string length: 255
alias
string

Stable alias for deduplication and later lookup.

description
string
priority
enum<string>
default:P3

P1→critical, P2→high, P3→medium, P4/P5→low.

Available options:
P1,
P2,
P3,
P4,
P5
responders
object[]
tags
string[]
details
object
entity
string

Resolved to a service by name match.

source
string

Response

Accepted

result
string
Example:

"Request will be processed"

took
number
Example:

0

requestId
string<uuid>