GET List Users only returns some users, not all

Description
I’m using the GET method to List Users in our Zoom account, and set the page_size to 1000 because we have roughly 900+ users. However, the API is only returning 300 users - how is this possible?

Error
No error.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?
https://api.zoom.us/v2/users

How To Reproduce (If applicable)
I’m using the Python Requests library to do all this, but here’s a cURL command that produces the same result:

curl --location --request GET ‘https://api.zoom.us/v2/users?page_size=1000
–header ‘Authorization: Bearer $MY_JWT_TOKEN’

Screenshots (If applicable)
No screenshots needed. All that happens is I get 300 user records back, instead of 1000.

Additional context
Add any other context about the problem here.

The maximum value for the page_size parameter is 300. If you have more than that, you need to “page” through the result with multiple api calls using the page_number parameter. The call will return total_records so you can determine how many page calls you need.

1 Like

Hey @rrodrigues,

Like @robertom said, you need to use the page_number to get all of your users:

You will have to make approximately 4 requests to get all 900+ users.

https://api.zoom.us/v2/users?page_size=300&page_number=1
https://api.zoom.us/v2/users?page_size=300&page_number=2
https://api.zoom.us/v2/users?page_size=300&page_number=3
https://api.zoom.us/v2/users?page_size=300&page_number=4

Thanks,
Tommy