API Integration

Creating separate API Integrations for different monitoring systems makes it easier to manage similar alerts together, by using different action configurations per system.

What does Opsgenie offer API integration users?

API Integrations are used to access Opsgenie services, allowing you to integrate alerts, configure users, schedules, and teams on your Opsgenie account from external applications.

Functionality of the integration

A Default API integration is provided in your account. This integration can be used for configuring users as well as alerts, however, we recommend adding a separate API Integration for each of your monitoring systems.

Opsgenie has built-in integrations for many management systems that make the integration configuration easier. Before using an API Integration, please check the existing Integrations, and feel free to suggest new integrations via the Contact Us page.

Opsgenie Client Tools

​Using API Integration

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie API Integration page.

🚧

For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

  1. Specify who is notified for the alerts using the Teams field. Refer to Alert Notifications Flow.

📘

An alternative for Step 2) and Step 3) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Check the modify configuration settings option to allow the integration to manage users, schedules, escalations, etc.
  2. Click Save Integration.
  3. An API Key is generated for the integration, copy the API Key and use in your API requests.
2239

📘

If the Owner of your Opsgenie account has not verified their email yet, users within your organization will not be able use API integrations.

Advanced Settings

Integration advanced settings consist of many different alert scenarios. These scenarios are called Actions; and they specify how and when alerts can be created, closed, acknowledged. etc. There are default actions provided by Opsgenie, but you can customize them and add as many actions of your own as you like. You can, for example, have three Create Alert actions, which means the data that comes to Opsgenie is evaluated against these three scenarios in order and if one of them has a match, a new alert is created.

Click "Advanced Settings" to switch or modify actions, then save your changes.

Refer to Integrations Framework for more information.

2274

🚧

Dynamic fields (custom priority, payload, url, and headers) are not available for API integration.


What’s Next