# Using Zoom Rooms Control System API (ZR-CSAPI) with Python?

**URL:** <https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674>\
**Category:** API and Webhooks\
**Created:** [July 30, 2020, 3:25am UTC](https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674 "2020-07-30T03:25:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rongxinliu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rongxinliu/32/12728_2.png) [@rongxinliu](https://devforum.zoom.us/u/rongxinliu)\
**Post date:** [July 30, 2020, 3:25am UTC](https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674/1 "2020-07-30T03:25:00Z")

</div>

So I know that Zoom Rooms Control System API (ZR-CSAPI)'s SSH interface does not support SSH exec commands and strictly limits to plain text.

If I want to write a python script to do some automation using ZR-CSAPI, what packages should I use to interface with the API? I have tried pexpect, Paramiko, and other related packages, but no luck. I guess almost all the packages handling SSH interaction will tend to execute commands instead of sending plain-text.

Would love to hear any suggestion on this if someone has done this before.

Thank you!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 31, 2020, 3:37pm UTC](https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674/2 "2020-07-31T15:37:45Z")

</div>

Hey @rongxinliu,

I am not sure if you can use the [ZR-CSAPI](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-cli) with Python. Have you tried googling to see if it is possible to call CLI commands with python?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rongxinliu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rongxinliu/32/12728_2.png) [@rongxinliu](https://devforum.zoom.us/u/rongxinliu)\
**Post date:** [July 31, 2020, 8:57pm UTC](https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674/3 "2020-07-31T20:57:01Z")

</div>

Hi Tommy,

Thank you for your reply!

So using python to call CLI commands is doable using subprocess, os.system, pexpect, etc. But odds are they all assume SSH exec is allowed. But since ZR-CSAPI is plain-text interaction only, I am having trouble finding the proper tools to interact with it. I guess most of the Crestron products (or other AV control systems) use the ZR-CSAPI, so there should be a way to interact with it, wondering what that specific tool is. Not sure if the iPad controller is also using this API.

Perhaps, if the new release of Zoom API support mute/unmute audio and video for Zoom Room, then I will definitely use Zoom API!

Best,  
Rongxin

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 4, 2020, 6:15am UTC](https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674/4 "2020-08-04T06:15:36Z")

</div>

Hey @rongxinliu,

I believe they are all using the ZR-CSAPI.

We do plan on releasing new Zoom Room endpoints with this functionality, but not for awhile.

Thanks,  
Tommy

---

<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:** [August 14, 2020, 6:15am UTC](https://devforum.zoom.us/t/using-zoom-rooms-control-system-api-zr-csapi-with-python/25674/5 "2020-08-14T06:15:36Z")

</div>

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