---
title: "Gets all alerts for the account."
method: GET
path: "/alerts"
tags: ["Alerts"]
---

# Gets all alerts for the account.

`GET /alerts`

## Query parameters

- `id` string
- `device_id` string[]
- `active_only` boolean
- `resolved` boolean
- `org_id` string
- `take` integer
- `page` integer

## Response `200`

OK

- Alert[]
  - `id` string, nullable — The alert id (encrypted)
  - `created_on` string, date-time — The date and time the alert was created
  - `updated_on` string, date-time, nullable — The date and time the alert was last updated
  - `snoozed_until` string, date-time, nullable — The date and time until which the alert is snoozed
  - `resolved_on` string, date-time, nullable — The date and time the alert was resolved
  - `alert_rule` AlertRuleSummary — Alert rule summary (minimal info included with alerts)
    - `id` string, nullable — The alert rule id (encrypted)
    - `name` string, nullable — The name of the alert rule
    - `rule_set` string, nullable — The rule set configuration (JSON)
    - `is_enabled` boolean, nullable — Indicates if the alert rule is enabled
  - `devices` AlertDevice[], nullable — The devices affected by this alert
    - `id` string, nullable — The device id (encrypted)
    - `name` string, nullable — The device name
  - `is_active` boolean — Indicates if the alert is currently active (not resolved and not snoozed)

---

[API](https://skmtc.net/reveldigital/apis/revel-digital-rest-api.md) · [All operations](https://skmtc.net/reveldigital/apis/revel-digital-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reveldigital/revel-digital-rest-api/versions/f23a94aea621/schema)
