# Ability to list workspaces by workspace type

**URL:** <https://devforum.zoom.us/t/ability-to-list-workspaces-by-workspace-type/112078>\
**Category:** Feature Requests\
**Tags:** api\
**Created:** [June 17, 2024, 2:15pm UTC](https://devforum.zoom.us/t/ability-to-list-workspaces-by-workspace-type/112078 "2024-06-17T14:15:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![philip.ross](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/philip.ross/32/19627_2.png) [@philip.ross](https://devforum.zoom.us/u/philip.ross)\
**Post date:** [June 17, 2024, 2:15pm UTC](https://devforum.zoom.us/t/ability-to-list-workspaces-by-workspace-type/112078/1 "2024-06-17T14:15:13Z")

</div>

**This is for developer-specific feature requests. For other requests please contact our customer support team.**

**Is your feature request related to a problem? Please describe.**  
Currently, when I do a GET Call to get workspaces against a location\_id, I get all workspaces returned including desks and rooms.

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

**Describe the solution you’d like**  
It would be handy to be able to add a query string parameter, with enumeration, of `desk` or `room` to be able to get only the corresponding workspace returned from the API call.

**Describe alternatives you’ve considered**  
Currently I have to get all the data, and then filter the output to get what I want.  
It would be cleaner to have this ability within the API call directly.

**Additional context**  
I did try adding a query string parameter in, and whilst the API call still successfully returned, it didn’t filter the results as expected.  
I added `&workspace_type=desk` but this didn’t work.  
I got this string from [Zoom Rooms API](https://developers.zoom.us/docs/api/rest/reference/zoom-rooms/methods/#operation/createWorkspace)
