v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Opsgenie Integration

Create a new service object

Create a new service object in the Opsgenie integration.

post/api/v2/integration/opsgenie/services

Request body

Example request

{
  "data": {
    "attributes": {
      "custom_url": "https://example.com",
      "name": "fake-opsgenie-service-name",
      "opsgenie_api_key": "00000000-0000-0000-0000-000000000000",
      "region": "us"
    },
    "type": "opsgenie-service"
  }
}

Response

CREATED

Example response

{
  "data": {
    "attributes": {
      "name": "fake-opsgenie-service-name",
      "region": "us"
    },
    "id": "596da4af-0563-4097-90ff-07230c3f9db3",
    "type": "opsgenie-service"
  }
}