notification-rule-controller
Get notification rule by id (getNotificationRuleById)
Fetches notification rule info by rule's id. In addition to regular notification rule fields, there are templateName and deliveryMethods in the response.
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
get/api/notification/rule/{id}
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "NOTIFICATION_RULE"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"templateId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "NOTIFICATION_TEMPLATE"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.