# Not get inactive users in the following API

**URL:** <https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421>\
**Category:** API and Webhooks\
**Created:** [June 14, 2021, 6:51pm UTC](https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421 "2021-06-14T18:51:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammed\_zaid](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mohammed_zaid/32/27959_2.png) [@mohammed\_zaid](https://devforum.zoom.us/u/mohammed_zaid)\
**Post date:** [June 14, 2021, 6:51pm UTC](https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421/1 "2021-06-14T18:51:52Z")

</div>

Hi,

I’m using this API: “[https://api.zoom.us/v2/users/type=inactive](https://api.zoom.us/v2/users/type=inactive)” to get the inactive users data but this API only gives Acitve users instead. What changes should I make the the URL?

Regards,  
Zaid

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 15, 2021, 9:47pm UTC](https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421/2 "2021-06-15T21:47:15Z")

</div>

Hey @mohammed_zaid,

Thank you for reaching out to the Zoom Developer Forum. Try using `status` from the [List Users API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users) instead of `type`:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/e/deab7d3f8b0843c62f81a7e8dad318538c074312.png)

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![mohammed\_zaid](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mohammed_zaid/32/27959_2.png) [@mohammed\_zaid](https://devforum.zoom.us/u/mohammed_zaid)\
**Post date:** [June 15, 2021, 9:59pm UTC](https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421/3 "2021-06-15T21:59:38Z")

</div>

Where should i make the changes, how will the url look like to get inactive users?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 17, 2021, 1:06am UTC](https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421/4 "2021-06-17T01:06:07Z")

</div>

@mohammed_zaid

> [@mohammed\_zaid](#):
>
> I’m using this API: “[https://api.zoom.us/v2/users/type=inactive](https://api.zoom.us/v2/users/type=inactive)”

Change your URL to be: [https://api.zoom.us/v2/users/status=inactive](https://api.zoom.us/v2/users/status=inactive)

So that you are using the `status` query parameter

Let me know if that helps.

Max

---

<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:** [July 17, 2021, 11:06am UTC](https://devforum.zoom.us/t/not-get-inactive-users-in-the-following-api/52421/5 "2021-07-17T11:06:13Z")

</div>

Closed on July 17, 2021, 11:06am UTC

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