Get the most recent event via the API

Hey there,
i’m trying to write a unit test for some web hook logic and I want to test if a hook is called. In order to make that work, I need the most recent event my source has received.
Is there an easy way to do this by using the REST API?

Thank you!

try this