# List subaccount users with status=pending does not include user ids

**URL:** <https://devforum.zoom.us/t/list-subaccount-users-with-status-pending-does-not-include-user-ids/56021>\
**Category:** API and Webhooks\
**Created:** [August 18, 2021, 8:56pm UTC](https://devforum.zoom.us/t/list-subaccount-users-with-status-pending-does-not-include-user-ids/56021 "2021-08-18T20:56:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CharlesBox](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@CharlesBox](https://devforum.zoom.us/u/CharlesBox)\
**Post date:** [August 18, 2021, 8:56pm UTC](https://devforum.zoom.us/t/list-subaccount-users-with-status-pending-does-not-include-user-ids/56021/1 "2021-08-18T20:56:53Z")

</div>

Why aren’t user ids returned for pending users via the list users api call? Active users show their user ids via smae api call and creating a new user returns its user id as well.

Also, we have a case where a user is listed as a pending user but when we make a subsequent call to retrieve the user settings, we get a 404 not found for that user’s email address when searching under the same account.

---

<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:** [August 22, 2021, 10:35pm UTC](https://devforum.zoom.us/t/list-subaccount-users-with-status-pending-does-not-include-user-ids/56021/2 "2021-08-22T22:35:59Z")

</div>

Hey @CharlesBox,

Thank you for reaching out to the Zoom Developer Forum. This is expected behavior as the user is not created under your account until the invitation is accepted. This is covered in our [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) documentation:

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

Let me know if that helps.

Thanks,  
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:** [September 22, 2021, 8:36am UTC](https://devforum.zoom.us/t/list-subaccount-users-with-status-pending-does-not-include-user-ids/56021/3 "2021-09-22T08:36:10Z")

</div>

Closed on September 22, 2021, 8:36am UTC

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