7

I know we can query Custom Notification TYPES or we can send custom notifications through apex and/or Rest API.

But can we fetch the open (or even all) notifications sent to a user?

For further context, we have an external application that shows data from Salesforce in real time and we would like to check if there are any open notifications for the current user and show them alongside the other notifications from this App.

5
+50

You could probably use GET method in Salesforce Action REST API. I don't think there is any other way currently.

https://developer.salesforce.com/docs/atlas.en-us.api_action.meta/api_action/actions_obj_custom_notification.htm

edit: actually, you probably could also use connect REST API and that would be even better idea: https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_notifications_list.htm

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.