{"type":"api","title":"Get Notification Rule","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - Alarms Notification"],"description":"Get all rules or specific notification rule by its Id ","operationId":"getNotificationRule","parameters":[{"name":"ruleId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"site-id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"@rid":{"type":"integer","format":"int64","example":1158},"accountDetails":{"type":"string","example":"cqx@cisco.com"},"alarmName":{"type":"string","example":"BFD_Node_Up"},"devicesAttached":{"type":"string","example":"1712133e-0246-4281-8152-3317b796d2bc"},"emailThreshold":{"type":"integer","format":"int64","example":5},"lastUpdated":{"type":"integer","format":"int64","example":1588177200725},"notificationRuleId":{"type":"string","example":"e947efc8-e86a-4eb4-b8ce-7ed0c2828f13"},"notificationRuleName":{"type":"string","example":"testwebhook"},"severity":{"type":"string","example":"Medium"},"updatedBy":{"type":"string","example":"admin"},"webhookPassword":{"type":"string","example":"$CRYPT$R21YRfP4HWOv+Z9nSi7zRw==$hEU/zplzA+IJlI/4LsNY/Q=="},"webhookUrl":{"type":"string","example":"https://localhost:8444"},"webhookUsername":{"type":"string","example":"admin"}},"$$ref":"#/components/schemas/NotificationsRuleData"}}},"$$ref":"#/components/schemas/NotificationsRulesResponse"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Alarms-read","method":"get","path":"/notifications/rules"}}