---
title: "Retrieve notifications rules"
method: GET
path: "/rts/notifications/rules/"
tags: ["rts_notification_rules"]
---

# Retrieve notifications rules

`GET /rts/notifications/rules/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/rts/notifications/rules/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `notifications_rules_access`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/rts/notifications/rules/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves list of user notification rules

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

OK

- NotificationRuleListResponse
  - `count` integer, required: Count of all notifications rules
  - `next` string, uri, nullable, required: Next page from pagination
  - `previous` string, uri, nullable, required: Previous page from pagination
  - `results` NotificationRuleObject[], required: List of notification rules
    - `id` integer, required: notification rule ID
    - `notification_method` integer, required: notification method ID
    - `message_type` 'my_incident' | 'shared_incident' | 'arming' | 'trigger_action' | 'open_incident_verification' | 'verify_incident' | 'close_incident' | 'arrow_status_online' | 'arrow_status_offline' | 'camera_status_online' | 'camera_status_offline', required: message type to send notification for
    - `allowed_cameras` integer[]
    - `allowed_arrow_clients` string[]

## Other responses

- `400`: Query params are invalid.
- `401`: Missing or invalid authorization.
- `403`: Missing permission.

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/dd1cdc3f2c23?raw)
