Skip to main content
Get Global Router
curl --request GET \
  --url https://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/routers/{id} \
  --header 'Authorization: <api-key>'
{
  "router": {
    "createTime": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "disabled": true,
    "entityLabels": {},
    "entityType": "ENTITY_TYPE_UNSPECIFIED",
    "fallback": [
      {
        "connectorId": "<string>",
        "customDetails": {},
        "id": "d4b56246-64bb-4714-a8bd-97c999f1d801",
        "presetId": "<string>"
      }
    ],
    "fallbackTargets": [
      {
        "entityType": "ENTITY_TYPE_UNSPECIFIED",
        "target": {
          "connectorId": "<string>",
          "customDetails": {},
          "id": "d4b56246-64bb-4714-a8bd-97c999f1d801",
          "presetId": "<string>"
        }
      }
    ],
    "id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
    "name": "My Router",
    "routingLabels": {
      "environment": "<string>",
      "service": "<string>",
      "team": "<string>"
    },
    "rules": [
      {
        "condition": "alertDef.priority == 'P3'",
        "customDetails": {},
        "entityType": "ENTITY_TYPE_UNSPECIFIED",
        "name": "<string>",
        "targets": [
          {
            "connectorId": "<string>",
            "customDetails": {},
            "id": "d4b56246-64bb-4714-a8bd-97c999f1d801",
            "presetId": "<string>"
          }
        ]
      }
    ],
    "updateTime": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Response

200 - application/json

Response containing a requested global router

router
Global Router · object

Defines a set of pre-configured routing rules for directing notifications