---
title: "GET /events/rules/"
method: GET
path: "/events/rules/"
tags: ["events"]
---

# GET /events/rules/

`GET /events/rules/`

NotificationRule Viewset

## Query parameters

- `destination_group__name` string
- `name` string
- `ordering` string
- `page` integer
- `page_size` integer
- `search` string
- `severity` 'notice' | 'warning' | 'alert'

## Response `200`

- PaginatedNotificationRuleList
  - `pagination` Pagination, required
    - `next` number, required
    - `previous` number, required
    - `count` number, required
    - `current` number, required
    - `total_pages` number, required
    - `start_index` number, required
    - `end_index` number, required
  - `results` NotificationRule[], required
    - `pk` string, uuid, required
    - `name` string, required
    - `transports` string[] — Select which transports should be used to notify the user. If none are selected, the notification will only be shown in the authentik UI.
    - `severity` 'notice' | 'warning' | 'alert'
    - `destination_group` string, uuid, nullable — Define which group of users this notification should be sent and shown to. If left empty, Notification won't ben sent.
    - `destination_group_obj` Group, required — Group Serializer
      - `pk` string, uuid, required
      - `num_pk` integer, required
      - `name` string, required
      - `is_superuser` boolean — Users added to this group will be superusers.
      - `parents` string[]
      - `parents_obj` RelatedGroup[], nullable, required
        - `pk` string, uuid, required
        - `name` string, required
        - `is_superuser` boolean — Users added to this group will be superusers.
        - `attributes` object
        - `group_uuid` string, uuid, required
      - `users` integer[]
      - `users_obj` PartialUser[], nullable, required
        - `pk` integer, required
        - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
        - `name` string, required — User's display name.
        - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
        - `last_login` string, date-time, nullable
        - `email` string, email
        - `attributes` object
        - `uid` string, required
      - `attributes` object
      - `roles` string[]
      - `roles_obj` Role[], required
        - `pk` string, uuid, required
        - `name` string, required
      - `inherited_roles_obj` Role[], nullable, required
        - `pk` string, uuid, required
        - `name` string, required
      - `children` string[], required
      - `children_obj` RelatedGroup[], nullable, required
        - `pk` string, uuid, required
        - `name` string, required
        - `is_superuser` boolean — Users added to this group will be superusers.
        - `attributes` object
        - `group_uuid` string, uuid, required
    - `destination_event_user` boolean — When enabled, notification will be sent to user the user that triggered the event.When destination_group is configured, notification is sent to both.
  - `autocomplete` Autocomplete, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
