DevFlow
Docs/Integrations

Opsgenie integration: API key, teams, and routing

Owner Theo Hayashi · Last updated 2026-03-19 · v3.0
opsgenieintegrationoncallteam-routing

Opsgenie integration

Opsgenie is structurally similar to PagerDuty — DevFlow speaks Opsgenie's REST API directly.

install

In Opsgenie, create an API integration under Settings → API key management, copy the API key.

In DevFlow:

bash
devflow channels add payments-oncall   --type opsgenie   --api-key og_abcdef   --team payments-oncall

team routing

The --team flag is the Opsgenie team name to route to. DevFlow alerts target teams, not individuals — handoffs stay inside Opsgenie.

priority mapping

DevFlow severityOpsgenie priority
criticalP1
errorP2
warningP3
infoP5

dedup

Opsgenie alert dedup uses our alias field, set to devflow:incident:<incident-id>. Same approach as pagerduty-integration.

bidirectional ack

/devflow ack and Opsgenie ack stay in sync via the bidirectional webhook. Same shape as PD.

removing

Opsgenie admins can revoke the API key. DevFlow surfaces the failure on the next delivery.

Related questions

Was this helpful?
Or ask the docs bot for a follow-up — the floating button bottom-right.