Cognitives

Cognitives.io Documentation

Welcome to the Cognitives developer hub. You'll find comprehensive guides and documentation to help you start working with Cognitives as quickly as possible, as well as support if you get stuck. Let's jump right in!

_Notification.getNotifications()

Function to get the notifications of currently logged in user

{% set notifications = _Notification.getNotifications() %}

Example Response

{  
   "count":"1",
   "list":[  
      {  
         "title":"Title",
         "body":"Notification Content",

      }
   ]
}

Response Description

Attribute
Description

count

Count of notifications

Notification List

Attribute
Description

title

Notification title

body

Notification body

_Notification.getNotifications()