---
title: "Retrieve a notification rule by its ID"
method: GET
path: "/network-notifications/v1/notification-rules/{id}"
tags: ["Notification Rules"]
---

# Retrieve a notification rule by its ID

`GET /network-notifications/v1/notification-rules/{id}`

This API endpoint retrieves a notification rule based on the id provided. The notification rule includes data source and destination channel details.

## Path parameters

- `id` string, required

## Response `200`

Notification rule.

- NotificationRule — Notification rule details.
  - `id` string, required — Unique identifier of the notification rule.
  - `type` string, required — Type identifier for the notification rule.
  - `name` string, required — Name of the notification rule.
  - `description` string — Description of the notification rule.
  - `enabled` boolean — Indicates whether the notification rule is enabled.
  - `sourceTypes` string[] — List of source types for the notification rule.
  - `source` NotificationRuleSource — Data source details for the notification rule.
    - `alerts` NotificationRuleSourceAlerts — Alert source details for the notification rule.
      - `enabled` boolean — Indicates whether the alert source is enabled.
      - `alertNames` string[] — List of alert names for the notification rule.
      - `minAlertSeverity` 'CRITICAL' | 'MAJOR' | 'MINOR' | 'INFO' — Minimum alert severity for the notification rule.
  - `destination` NotificationRuleDestination — Notification destination details for the notification rule.
    - `email` NotificationRuleDestinationEmail — Email destination details for the notification rule.
      - `enabled` boolean — Indicates whether the email destination is enabled.
      - `emailIds` string[] — List of email addresses for the notification rule.
    - `webhook` NotificationRuleDestinationWebhook — Webhook destination details for the notification rule.
      - `enabled` boolean — Indicates whether the webhook destination is enabled.
      - `webhookIds` string[] — List of webhook subscription UUIDs for the notification rule.
    - `syslog` NotificationRuleDestinationSyslog — Syslog destination details for the notification rule. NOTE: Syslog destination is only supported in the Central On-Premise environment.
      - `enabled` boolean — Indicates whether the syslog destination is enabled.
      - `serverIds` string[] — List of syslog server UUIDs for the notification rule.

## Other responses

- `400` — Invalid input received.
- `401` — Unauthorized. Authentication credentials are required or invalid.
- `403` — Forbidden: Access is denied.
- `404` — Not Found error.
- `429` — Too Many Requests. The user has sent too many requests in a given amount of time.
- `500` — Internal Server Error. An unexpected error occurred on the server.

---

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