New endpoint for getting notifications + unit test