Skip to main content

Opsgenie Payload Builder

v1.0.0

Visual builder for Opsgenie alerts — priority, responders, tags, custom fields.

OpsGenie Alert Payload
{
  "message": "High error rate on api-gateway",
  "alias": "api-gateway-errors",
  "priority": "P3",
  "source": "Prometheus",
  "responders": [
    {
      "name": "backend-team",
      "type": "team"
    }
  ],
  "tags": [
    "production",
    "api"
  ],
  "details": {
    "env": "production"
  }
}

# Send via curl:
curl -X POST https://api.opsgenie.com/v2/alerts \
  -H "Authorization: GenieKey $OPSGENIE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":"High error rate on api-gateway","alias":"api-gateway-errors","priority":"P3","source":"Prometheus","responders":[{"name":"backend-team","type":"team"}],"tags":["production","api"],"details":{"env":"production"}}'