To enable or view your notification history on a Samsung phone running Android 12 you need to access your notification settings either by opening your main settings menu and tapping “notifications” or by pulling down your notifications shade and tapping “notification settings” at the bottom.
Once you have accessed the notification settings menu, you need to tap on “advanced settings” and then tap “notification history” which should be the third option on the list. This should bring you to a screen where you can turn your notification history on or off. This is also where you can view your notification history when this option is enabled. Your notification history is arranged by time, with your most recently dismissed notifications at the top.
You need to enable notification history before your phone will start keeping track of it. If you’re hoping to recover a notification you’ve already swiped away and hadn’t previously enabled your notification history, sadly you’re out of luck.