# List Users is only returning 10 out of more than 100 users

**URL:** <https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400>\
**Category:** API and Webhooks\
**Created:** [January 23, 2024, 11:58pm UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400 "2024-01-23T23:58:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakers](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jakers](https://devforum.zoom.us/u/jakers)\
**Post date:** [January 23, 2024, 11:58pm UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400/1 "2024-01-23T23:58:29Z")

</div>

When I run the List Users from the Zoom GraphQL collection, I am not getting any errors and am receiving a response that has all of the correct information for 10 users. Our organization has a lot more than that though. The reason I need to do this is to get a list of all of the users, search for one of them by their email, grab the ID from the matching one, then delete the user. The first part of that is not working since I am not getting a true list of all of our users.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 25, 2024, 3:56am UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400/2 "2024-01-25T03:56:40Z")

</div>

Hi @jakers,

To retrieve more than the default number of users, you can modify your query to specify a larger number. Here’s how you can adjust it to return 100 users:

```auto
{
  users(first:100) {
    edges {
      node {
        firstName
        lastName
        email
      }
    }
  }
}

```

In this query, `users(first:100)` requests the first 100 users. The `edges` array will contain nodes for each user, including their `firstName`, `lastName`, and `email`. Make sure to use this structure in your query to get the desired results.

---

<div class="post-metadata">

**Author:** ![jakers](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jakers](https://devforum.zoom.us/u/jakers)\
**Post date:** [January 25, 2024, 6:59pm UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400/3 "2024-01-25T18:59:44Z")

</div>

Where would that be in the original request?

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 25, 2024, 9:27pm UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400/4 "2024-01-25T21:27:41Z")

</div>

This is how your request would look like:

{  
“query”: “{ users(first:100) { edges { node { firstName lastName email } } } }”  
}

---

<div class="post-metadata">

**Author:** ![jakers](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jakers](https://devforum.zoom.us/u/jakers)\
**Post date:** [January 26, 2024, 7:19pm UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400/5 "2024-01-26T19:19:05Z")

</div>

Thank you. That worked.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 27, 2024, 7:19pm UTC](https://devforum.zoom.us/t/list-users-is-only-returning-10-out-of-more-than-100-users/102400/6 "2024-01-27T19:19:24Z")

</div>

Closed on January 27, 2024, 7:19pm UTC

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