[BUG] Zoom Event List Registrants API

Hello. I’ve previously worked with Zoom Meeting and Zoom Webinar APIs.

They both have a “list registrants” API where a page size can be specified to specify how many records need to be returned.

the response has “total_records” which is how many records are total. We currently call this with page_size=1 and we don’t actually need to use the actual records, we just want to know how many there are (which total_records returns.) Zoom Events has the same API.

however when testing, this List Registrants API for Zoom Events doesn’t work as expected. if i specify page_size=1, i get one record (expected) but total_records=1 (which is not the actual number of records there are). If i specify any other number >0 the same thing is returned. However, when I specify page_size=0, that’s when total_records actually reflects the correct number. However, it returns all records.

This looks like a bug and if not what’s the best way to get the number of total number of registrants?

Hi @rhuamanicarpio
Thanks for reaching out to us.
Allow me to do some testing on my end and identify a root cause.

Hi Elisa! Is there an update on this? It’s giving us issues in production as total_records is not returning the correct value for the Zoom Event Registrants API

Hey @rhuamanicarpio
Can you please share an example request URL and response body please?

v2/zoom_events/events/lFuJPgBJTrOU3lJqssBK9A/registrants?page_size=0

response body looks like
"{
“total_records”: 30,
"
}
when there are more than 30 total records. it seems to cap at 30.

we used page_size=0 as a workaround because using page_size=X returns total_records=X always. it is our understanding that the API should be returning the actual total records in the total_records field despite what page size is.

Can you pass a page_size of 300 please?

hi Elisa that works but is the API supposed to return the actual total_records in that field despite page size? we dont actually need to fetch all the records individually we just care about the number. we do this with meetings and webinars API so this behavior seems inconsistent.

Hi @rhuamanicarpio
Yes, the endpoint will return all records associated with the event. I will double check with the team if this is a bug as you mentioned in the original post, but for now I suggest you set the page_size to 300 so you get all records back

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.