Start Now

Alerts


List Alerts

Request

GET /alerts

Curl Example

curl -X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer d3d6763224e8f54ee5aeb08202b7eb101d97081876819cb48833d9f892185917" \
"https://api.statsignal.dev/v1/alerts"

Response Example

Status: 200 ok

{
  "alerts": [
    {
      "uuid": "8325ac180476415e807284275b90c430",
      "name": "Example Alert",
      "up": true,
      "degraded": false,
      "disrupted": false,
      "down": true,
      "maintenance": true,
      "recipients": [
        {
          "uuid": "81929861646b4c0aaa32dd2c426a0cf5",
          "type": "sms",
          "target": "+13057093028",
          "createdAt": "2023-03-06T02:26:55.320603Z",
          "updatedAt": "2023-03-06T02:26:55.320603Z"
        }
      ],
      "createdAt": "2023-03-06T02:26:55.320603Z",
      "updatedAt": "2023-03-06T02:26:55.320603Z"
    },
    {
      "uuid": "8d3bd37af03d4093acce563553c4e7e5",
      "name": "Default alerts for Example",
      "up": true,
      "degraded": true,
      "disrupted": true,
      "down": true,
      "maintenance": true,
      "recipients": [
        {
          "uuid": "3945d6af6324475a90d67b496eec20a3",
          "type": "email",
          "target": "[email protected]",
          "createdAt": "2023-03-04T21:47:18.728348Z",
          "updatedAt": "2023-03-04T21:47:18.728348Z"
        }
      ],
      "createdAt": "2023-03-04T21:47:18.728348Z",
      "updatedAt": "2023-03-04T21:47:18.728348Z"
    }
  ],
  "paginator": {
    "recordOffset": 0,
    "pageSize": 10,
    "pagesCount": 1,
    "recordsCount": 2,
    "recordOffsetChanged": false
  }
}
Statsignal - Uptime monitoring and status page | Product Hunt
Statsignal is designed and built by 19 Signals LLC. Copyright ©2021 19 Signals LLC. All rights reserved.