function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Li LeeLi Lee 

Want to know more detail about get Salesforce Notifications

Hi all,

We want to get notifications information from Salesforce in our VF component. 

After search we found Streaming API and REST API can get notifications information. But both of them have issue.

For Stream API:
User-added image
From above image you can see read and seen state always show as false, event I already read and seen it. This is incorrect result.

For REST API

User-added imageUse this API we can get correct read and seen state, but unfortunately, this REST API only can get custom notifications, no system notification result returned by use this method.

Other Found
During research we found we get just call "/ltng/notifications" to get corect notifications result. Please see follow image.
User-added image
But we don't found any Salesforce Official Document about this "/ltng/notifications". 

So  my questions as follow:
1. Is there anyway can let Streaming API get correct read and seen state? 
2. Is there anyway can let REST API get System Notifications?
3. Can you tell me if there are any Salesforce document about "/ltng/notifications" ?
4. Is there any new idea to get Salesforce Notifications?