# How to search users using criterial like first name or type?

**URL:** <https://devforum.zoom.us/t/how-to-search-users-using-criterial-like-first-name-or-type/94350>\
**Category:** Users and Groups\
**Tags:** api\
**Created:** [September 1, 2023, 7:28pm UTC](https://devforum.zoom.us/t/how-to-search-users-using-criterial-like-first-name-or-type/94350 "2023-09-01T19:28:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalil.benamor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khalil.benamor/32/51641_2.png) [@khalil.benamor](https://devforum.zoom.us/u/khalil.benamor)\
**Post date:** [September 1, 2023, 7:28pm UTC](https://devforum.zoom.us/t/how-to-search-users-using-criterial-like-first-name-or-type/94350/1 "2023-09-01T19:28:51Z")

</div>

Hey There!

When doing a GET on /users =\> we receive all users  
for example: [https://api.zoom.us/v2/users?page\_size=1](https://api.zoom.us/v2/users?page_size=1)  
{  
“page\_count”: _**,  
“page\_number”: 1,  
“page\_size”: 1,  
“total\_records”: \*\*\*\*,  
“next\_page\_token”: "**_",  
“users”: [  
{  
“id”: “_**“,  
“first\_name”: “Bruce”,  
“last\_name”: “Wayne”,  
“display\_name”: “Bruce Wayne”,  
“email”: “[Bruce.Wayne@domain.com](mailto:Bruce.Wayne@domain.com)”,  
“type”: 2,  
“pmi”: ,  
“timezone”: “America/New\_York”,  
“verified”: 1,  
“dept”: “”,  
“created\_at”: "”,  
“last\_login\_time”: "**_”,  
“last\_client\_version”: “_**",  
“pic\_url”: "**_”,  
“group\_ids”: [  
“_**"  
],  
“language”: “en-US”,  
“phone\_number”: “”,  
“status”: “active”,  
“role\_id”: “2”,  
“employee\_unique\_id”: "**_”,  
“user\_created\_at”: “\*\*\*\*\*”  
}  
]  
}  
And I’m looking to get all users with “type”= 2, or “verified” = 1.

Could someone help please?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 7, 2023, 9:21pm UTC](https://devforum.zoom.us/t/how-to-search-users-using-criterial-like-first-name-or-type/94350/2 "2023-09-07T21:21:25Z")

</div>

Hi @khalil.benamor  
Thanks for reaching out to us!  
We do not have a specific way to query users according to their type or any other attribute.  
I recommend you to programmatically loop into the response and find the user according to the attribute you are looking for.

If you look into our docs here:

> **[Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/users)**
>
> API Reference for /docs/api/rest/reference/zoom-api/methods

You will see that you can pass some query parameters but not the ones that you are looking for.  
Cheers,  
Elisa
