_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

AttributeDescription
countCount of notifications
listArray of notifications

Notification List

AttributeDescription
titleNotification title
bodyNotification body