# Limit Contact Types when responding to zCommand Phonebook List

**URL:** <https://devforum.zoom.us/t/limit-contact-types-when-responding-to-zcommand-phonebook-list/56016>\
**Category:** API and Webhooks\
**Created:** [August 18, 2021, 5:14pm UTC](https://devforum.zoom.us/t/limit-contact-types-when-responding-to-zcommand-phonebook-list/56016 "2021-08-18T17:14:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuisSegovia510](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@LuisSegovia510](https://devforum.zoom.us/u/LuisSegovia510)\
**Post date:** [August 18, 2021, 5:14pm UTC](https://devforum.zoom.us/t/limit-contact-types-when-responding-to-zcommand-phonebook-list/56016/1 "2021-08-18T17:14:54Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
We are using a third party control app (Kramer Control) to operate our campus Zoom Rooms. Currently the API call to retrieve the phonebook list retrieves all 10k+ entries, which is both not necessary for our use case, and causes performance degradation on the third party side. Is there any method to limit the response provided by Zoom Rooms to only a specific contact type such as other rooms, or ideally a defined sub-class of users to reduce the amount of data provided in response to zCommand Phonebook List? (Lowering the limit integer doesn’t satisfy this requirement due to contacts being loaded alphabetically)  
Zoom Room Classes begin 8/30

**Error**  
No error messages, API response just causes undesired operation of 3rd party control environment.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
API via SSH

**Which Endpoint/s?**  
Kramer Control Processor, SL-280

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Have Zoom Room with 9k+ contacts available
2. Send "zCommand Phonebook List Offset: 0 Limit: 10000
3. Observe duration required to load contacts before regular communication resumes

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
[https://www.manula.com/manuals/kramer/kramer-control/1/en/topic/zoom-room-module](https://www.manula.com/manuals/kramer/kramer-control/1/en/topic/zoom-room-module)

---

<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:31pm UTC](https://devforum.zoom.us/t/limit-contact-types-when-responding-to-zcommand-phonebook-list/56016/2 "2021-08-22T22:31:53Z")

</div>

Hey @LuisSegovia510,

Thank you for reaching out to the Zoom Developer Forum. Have you tried using an offset and a limit with the command?

> **[Zoom Rooms CLI - Zoom Rooms - Documentation](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-cli#arrays)**
>
> Zoom Rooms Control System API
> 
> Version 1.1
> 
> ZR-CSAPI Features: Version 1.1
> 
> The ZR-CSAPI is a stand-alone process that runs on the Zoom Room machine. Th...

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:32am UTC](https://devforum.zoom.us/t/limit-contact-types-when-responding-to-zcommand-phonebook-list/56016/3 "2021-09-22T08:32:08Z")

</div>

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

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