Skip to main content
GET
/
notifications
/
rules
List Notification Rules
curl --request GET \
  --url https://hub.griff.services/notifications/rules \
  --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.

Query Parameters

monitorId
string
enabled
boolean

Response

Default Response

data
NotificationRuleMonitor · object[]
required