---
title: "Opsgenie"
canonical_url: "https://docs.getdx.com/connectors/opsgenie/"
md_url: "https://docs.getdx.com/connectors/opsgenie.md"
last_updated: "2026-06-11"
---

# Opsgenie
By integrating Opsgenie with DX, you can analyze incident data and metrics such as MTTR and Change Fail Rate, as well as incorporate incident data into DX scorecards. Please refer to the API documentation below and our [schema explorer](https://docs.getdx.com/schema/) to see what data DX imports.

## Prerequisites

To connect Opsgenie to DX, you need:

- an Opsgenie service account

## Setup instructions

Follow the steps below to connect Opsgenie to DX.

#### Step 1

Create an Opsgenie service account with global admin status that will be used for DX.

#### Step 2

Login to the Opsgenie account created in the previous step and navigate to Settings > API key management, then click 'Add new API Key' and generate a new key with rights to both **Read** and **Configuration** access rights.

#### Step 3

- Navigate to the connections page in DX and select "+ Connection" in the top right.
- Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.

## API reference

The table below lists the specific API endpoints that are used by DX.


| Endpoint | Documentation |
|----------------------------------------------------------|---------------|
| /workspaces | [Link](https://developers.asana.com/reference/getworkspaces) |
| /workspaces/{workspace_id}/tasks/search | [Link](https://developers.asana.com/reference/searchtasksforworkspace) |
| /users | [Link](https://developers.asana.com/reference/getusers) |
| /teams/{team_id}/projects | [Link](https://developers.asana.com/reference/getprojectsforteam) |
| /workspaces/{workspace_id}/teams | [Link](https://developers.asana.com/reference/getteamsforworkspace) |
| /teams/{team_id}/team_memberships | [Link](https://developers.asana.com/reference/getteammemberships) |
| /projects/{project_id} | [Link](https://developers.asana.com/reference/getproject) |
| /tasks/{task_id}/status_updates | [Link](https://developers.asana.com/reference/getstatusesforobject) |
| /tasks/{task_id}/stories | [Link](https://developers.asana.com/reference/getstoriesfortask) |
| /projects/{project_id}/sections | [Link](https://developers.asana.com/reference/getsectionsforproject) |
| /workspaces/{workspace_id}/custom_fields | [Link](https://developers.asana.com/reference/getcustomfieldsforworkspace) |


## Errors

The table below lists potential error codes when adding a connection in DX.


| Error | Description |
|----------------------|------------------------------------------------------------------------------------------------------------------|
| `invalid_credentials` | Your API credentials entered are not valid. |
| `invalid_permissions` | Your API token does not have the permissions required by DX. |
---

## Sitemap

[Overview of all docs pages](/llms.txt)
