add API endpoint for retrieving unseen notifications

fixes issue 7df/ccd