Integration API (Deprecated)

📘

Create an API Integration and obtain your apiKey to make requests listed below. Please make sure that the integration is not restricted to access configurations.

Enable Integration Request

Enable integration request is used to enable an integration in OpsGenie. OpsGenie only process data coming from enabled incoming integrations such as CloudWatch, Datadog, etc. and sends alert actions to enabled outgoing integrations such as HipChat, CampFire, etc. Request takes the following parameters:

Mandatory Parameters

Parameter
apiKeyAPI key is used for authenticating API requests
nameName of integration

Sample Request

curl -XPOST 'https://api.opsgenie.com/v1/json/integration/enable' -d '
{
    "apiKey": "eb243592-faa2-4ba2-a551q-1afdf565c889",
    "name" : "cloudwatch_integration",

}'

Response

{
    "status" : "success",
    "code" : 200
}

Disable Integration Request

Disable integration request is used to disable an integration in OpsGenie. OpsGenie discards data coming from disabled incoming integrations such as CloudWatch, DataDog, etc. and stops sending alert actions to disabled outgoing integrations such as HipChat, CampFire, etc. Request takes the following parameters:

Mandatory Parameters

Parameter
apiKeyAPI key is used for authenticating API requests
nameName of integration

Sample Request

curl -XPOST 'https://api.opsgenie.com/v1/json/integration/disable' -d '
{
    "apiKey": "eb243592-faa2-4ba2-a551q-1afdf565c889",
    "name" : "cloudwatch_integration"
}'

Response

{
    "status" : "success",
    "code" : 200
}

Updated 8 months ago


Integration API (Deprecated)


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.