API to get user notifications