---
title: "List All Alerts"
method: GET
path: "/v2/uptime/checks/{check_id}/alerts"
tags: ["DigitalOcean-public.v2-new_Uptime"]
---

# List All Alerts

`GET /v2/uptime/checks/{check_id}/alerts`

To list all of the alerts for an Uptime check, send a GET request to `/v2/uptime/checks/$CHECK_ID/alerts`.

## Path parameters

- `check_id` string, uuid, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

The response will be a JSON object with a key called `alerts`. This will be set to an array of objects, each of which will contain the standard attributes associated with an uptime alert.

- object
  - `alerts` Alert[]
    - `id` string, uuid — A unique ID that can be used to identify and reference the alert.
    - `name` string — A human-friendly display name.
    - `type` 'latency' | 'down' | 'down_global' | 'ssl_expiry' — The type of alert.
    - `threshold` integer — The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
    - `comparison` 'greater_than' | 'less_than' — The comparison operator used against the alert's threshold.
    - `notifications` Notification — The notification settings for a trigger alert.
      - `email` string[], required — An email to notify on an alert trigger. The Email has to be one that is verified on that DigitalOcean account.
      - `slack` object[], required — Slack integration details.
        - `channel` string, string, required — Slack channel to notify of an alert trigger.
        - `url` string, string, required — Slack Webhook URL.
    - `period` '2m' | '3m' | '5m' | '10m' | '15m' | '30m' | '1h' — Period of time the threshold must be exceeded to trigger the alert.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
