# Get active, inactive and pending users in one API call

**URL:** <https://devforum.zoom.us/t/get-active-inactive-and-pending-users-in-one-api-call/38582>\
**Category:** Feature Requests\
**Created:** [December 16, 2020, 9:19pm UTC](https://devforum.zoom.us/t/get-active-inactive-and-pending-users-in-one-api-call/38582 "2020-12-16T21:19:22Z")\
**Posts on this page:** 2\
**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 16, 2020, 9:19pm UTC](https://devforum.zoom.us/t/get-active-inactive-and-pending-users-in-one-api-call/38582/1 "2020-12-16T21:19:22Z")

</div>

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

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.

1. Active : /users?status=active
2. Inactive: /users?status=inactive
3. Inactive: /users?status=pending
4. default: /users

default should return all users.

---

<div class="post-metadata">

**Author:** ![backend\_zoom\_harral](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/backend_zoom_harral/32/38576_2.png) [@backend\_zoom\_harral](https://devforum.zoom.us/u/backend_zoom_harral)\
**Post date:** [April 1, 2022, 7:20pm UTC](https://devforum.zoom.us/t/get-active-inactive-and-pending-users-in-one-api-call/38582/2 "2022-04-01T19:20:11Z")

</div>

This is a wonderful Idea, any update on this zoom?
