Notifications
User notifications management
Fetch a list of Notifications
Without params, it returns a list of Notifications the user has access to
Parameters
allbooleanqueryCan only be used by admins or managers to fetch all entities
userIdintegerqueryStandard users can use this only with their own userId
deviceIdintegerqueryStandard users can use this only with _deviceId_s, they have access to
groupIdintegerqueryStandard users can use this only with _groupId_s, they have access to
refreshbooleanquerylimitintegerqueryLimit the number of returned results
offsetintegerqueryOffset for pagination
keywordstringquerySearch keyword filter
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Create a Notification
Body
idinteger<int64>Unique identifier for the notification
typestringNotification category such as geofenceEnter or ignitionOn
descriptionstring | nullUser-defined text describing the notification
alwaysbooleanWhether the notification triggers regardless of schedule
commandIdinteger<int64>Identifier of the command to send when the notification triggers
notificatorsstringComma-separated delivery channels (for example, web, mail)
calendarIdinteger<int64>Calendar identifier restricting when the notification is active
attributesobjectAdditional custom attributes used by notificators or templates
Response
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch a Notification
Parameters
idintegerrequiredpathResponse
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Update a Notification
Body
idinteger<int64>Unique identifier for the notification
typestringNotification category such as geofenceEnter or ignitionOn
descriptionstring | nullUser-defined text describing the notification
alwaysbooleanWhether the notification triggers regardless of schedule
commandIdinteger<int64>Identifier of the command to send when the notification triggers
notificatorsstringComma-separated delivery channels (for example, web, mail)
calendarIdinteger<int64>Calendar identifier restricting when the notification is active
attributesobjectAdditional custom attributes used by notificators or templates
Parameters
idintegerrequiredpathResponse
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Delete a Notification
Parameters
idintegerrequiredpathResponse
No Content
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch a list of available Notification types
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch a list of available Notificators
Parameters
announcementbooleanqueryWhen true, exclude notificators that cannot deliver announcements
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Send test notification to current user via Email and SMS
Response
Successful sending
Could happen if sending has failed
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Send a test notification to the current User using the specified notificator
Parameters
notificatorstringrequiredpathResponse
Successful sending
Could happen if sending has failed
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Send a custom notification to selected users using the specified notificator
Body
subjectstringSubject or title of the notification
digeststringShort summary shown in compact contexts; defaults to the body when omitted
bodystringrequiredFull notification text
prioritybooleanWhether the message should be treated as high priority
Parameters
notificatorstringrequiredpathuserIdArray<integer>queryOptional list of user ids to send the notification to; if omitted, sends to all permitted users
Response
Successful sending
Could happen if sending has failed
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)