> **Source:** https://knowledge.leegality.com/sign-station/api/get-notification-rules > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # GET /api/v1/notification-rules — Get notification rules for current organization Retrieves all notification rules for the current user's organization **Authentication:** `X-Auth-Token` header required on every request. ## Request URL ``` GET https://app1.leegality.com/api/api/v1/notification-rules ``` **Environments:** - Production: `https://app1.leegality.com/api/api/v1/notification-rules` - Sandbox: `https://sandbox.leegality.com/api/api/v1/notification-rules` --- ## Responses ### 200 — OK | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `code` | string | No | Response code indicating success or failure | — | | `message` | string | No | Response message providing additional information | — | | `data` | array\ | No | See **NotificationRuleVO** below. | — | #### NotificationRuleVO | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `id` | string | No | Notification rule unique identifier | `a2787f6c-e00c-4bd9-ad34-ed88b8fcf54f` | | `ruleType` | string | No | Type of notification rule Allowed: `USER_CREATED`, `USER_DELETED`, `DOCUMENT_SIGNED`, `LICENSE_EXPIRY_REMINDER`, `LICENSE_EXPIRED`, `CERTIFICATE_EXPIRED`. | `USER_CREATED` | | `additionalEmailRecipients` | array\ | No | Additional email recipients for notifications | `anaghaputhur2018@gmail.com` | | `notifyUsers` | array\ | No | See **NotificationRuleUserVO** below. | — | | `enabled` | boolean | No | Indicates whether the notification rule is enabled | `true` | | `createdAt` | string | No | The date and time when the notification rule was created | `2025-10-10T15:47:41` | ##### NotificationRuleUserVO | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `id` | string | No | User unique identifier | `f6b0449d-b866-4647-b5c5-9ce765eb1184` | | `name` | string | No | Full name of the user | `Anagha Babu` | | `email` | string | No | Email address of the user | `anagha.babu@leegality.com` | | `active` | boolean | No | Indicates whether the user is active (enabled) or inactive (disabled) | `true` | | `enabled` | boolean | No | Indicates whether the user is enabled or disabled | `false` | ### 401 — Unauthorized - Invalid or expired token | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `code` | string | No | Top-level error code | `LE_ERR_SS_401` | | `errors` | array\ | No | List of error details See **ErrorDetail401Unauthorized** below. | — | #### ErrorDetail401Unauthorized | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `message` | string | No | Detailed error message | `Invalid or expired token` | | `path` | string | No | API path that generated the error | `/api/v1/*` | | `code` | string | No | Specific error code | `LE_ERR_SS_303` | ### 500 — Internal server error | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `code` | string | No | Top-level error code | `LE_ERR_SS_500` | | `errors` | array\ | No | List of error details See **ErrorDetailToken500VO** below. | — | #### ErrorDetailToken500VO | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `message` | string | No | Detailed error message | `Internal Server Error` | | `path` | string | No | API path that generated the error | `null` | | `code` | string | No | Specific error code | `null` | ### Sample Response (200) ```json { "code": "string", "message": "string", "data": [ { "id": "a2787f6c-e00c-4bd9-ad34-ed88b8fcf54f", "ruleType": "USER_CREATED", "additionalEmailRecipients": [ "anaghaputhur2018@gmail.com" ], "notifyUsers": [ { "id": "f6b0449d-b866-4647-b5c5-9ce765eb1184", "name": "Anagha Babu", "email": "anagha.babu@leegality.com", "active": true, "enabled": false } ], "enabled": true, "createdAt": "2025-10-10T15:47:41" } ] } ```