# Get active and inactive users in one API call

**URL:** <https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455>\
**Category:** API and Webhooks\
**Created:** [December 15, 2020, 4:24pm UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455 "2020-12-15T16:24:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gupta\_shivanshu](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gupta\_shivanshu](https://devforum.zoom.us/u/gupta_shivanshu)\
**Post date:** [December 15, 2020, 4:24pm UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455/1 "2020-12-15T16:24:04Z")

</div>

I want to get all the active and inactive users in one API call.  
Is it possible to get it done without calling one time to get active users and next time to get inactive users?

List users API only return active or inactive at a time.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [December 16, 2020, 7:22pm UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455/2 "2020-12-16T19:22:38Z")

</div>

Hi @gupta_shivanshu,

This is not currently possible—you’ll need to do two separate calls.

That said, you raise a great use case, and I can definitely appreciate why it would be helpful to fetch all users at once. If you’re so inclined, I might recommend submitting a feature request for this here: #feature-requests

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![gupta\_shivanshu](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gupta\_shivanshu](https://devforum.zoom.us/u/gupta_shivanshu)\
**Post date:** [December 16, 2020, 9:15pm UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455/3 "2020-12-16T21:15:28Z")

</div>

Hi Will,

The way we are consuming zoom api to get the user details, to get complete set of data we need to make 3 separate calls for active, inactive and pending users.  
There should be an option for “status=all”. The benefits are

1. Avoiding 3 separate calls to get aggregated data.
2. Products which have tasks for aggregations of user data doesn’t provide the out of box functionality to make 3 different calls to get complete data. In this case we have to write a lot of custom code and merge the result which is a big pain. This would be just solved if we could provide an option to get all( active, inactive and pending users) users in one go.

---

<div class="post-metadata">

**Author:** ![gupta\_shivanshu](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gupta\_shivanshu](https://devforum.zoom.us/u/gupta_shivanshu)\
**Post date:** [December 16, 2020, 9:20pm UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455/4 "2020-12-16T21:20:37Z")

</div>

Submitted [Get active, inactive and pending users in one API call](https://devforum.zoom.us/t/get-active-inactive-and-pending-users-in-one-api-call/38582)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [December 17, 2020, 4:46pm UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455/5 "2020-12-17T16:46:09Z")

</div>

Thanks for submitting this feature request, @gupta_shivanshu!

---

<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 17, 2021, 2:46am UTC](https://devforum.zoom.us/t/get-active-and-inactive-users-in-one-api-call/38455/6 "2021-01-17T02:46:15Z")

</div>

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