Getting webinar participants/registrants

I’ve created a code that calls Zoom API to get webinars’ participants/registrants’ data and it works fine when there is not a repeating webinar.
But when calling for webinars with multiple occurrences I get an error.
I looked in the documentation and saw that there should be a unique identifier for each occurrence but I can’t understand where or how to get it.