Skip to main content
GET
/
notifications
/
rules
/
{id}
Get Notification Rule
curl --request GET \
  --url https://hub.griff.services/notifications/rules/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "organizationId": "<string>",
    "monitorId": "<string>",
    "integrationName": "<string>",
    "trigger": {
      "type": "run_failed"
    },
    "routing": {
      "channelType": "slack",
      "channel": "<string>"
    },
    "cooldownMinutes": 1,
    "enabled": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "monitor": {
      "id": "<string>",
      "name": "<string>",
      "version": "<string>",
      "frequency": {
        "every": 123,
        "unit": "MINUTE"
      },
      "locations": [
        "<string>"
      ]
    },
    "integrationId": "<string>",
    "lastTriggeredAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Default Response

data
NotificationRuleMonitor · object
required