Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

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

apiKey

API key is used for authenticating API requests

name

Name 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

apiKey

API key is used for authenticating API requests

name

Name 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
}

Integration API (Deprecated)