# Controlling call queue availability

**URL:** <https://devforum.zoom.us/t/controlling-call-queue-availability/58841>\
**Category:** Feature Requests\
**Tags:** phone\
**Created:** [October 14, 2021, 1:48am UTC](https://devforum.zoom.us/t/controlling-call-queue-availability/58841 "2021-10-14T01:48:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dgc/32/31882_2.png) [@dgc](https://devforum.zoom.us/u/dgc)\
**Post date:** [October 14, 2021, 1:48am UTC](https://devforum.zoom.us/t/controlling-call-queue-availability/58841/1 "2021-10-14T01:48:15Z")

</div>

**Description**  
I want the ability to control a user’s availability for call queue calling remotely — in effect, to toggle the “receive call queues” setting (as it appears in the Zoom client and web profile) — in response to third-party triggers. In this case, the third party trigger will be our calendar application. When users are in a meeting, they should automatically be unavailable for call queue ringing.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Whatever works.

**Which Endpoint/s?**  
I can’t find any published endpoints for this, but clearly endpoints do exist because the web application (as well as the Zoom client) can alter the setting.

I have successfully written Javascript code that calls the hidden API endpoint and toggles this setting via `/api/v2/pbx/account/${account}/user/${user}/call-queue/status`. The problem is that it requires a JWT retrieved from `https://zoom.us/pbx/web/getToken`, and while I can make this work by driving pitons into `zoom.us`'s browser page, I can’t call it from my own application. I’m developing POC now and have hit a wall in moving it out of the [zoom.us](http://zoom.us) context.

For the long term this probably belongs in a browser extension. Happily, I have one already deployed to my users which I can add all this function into.

I would like to be able to authenticate the user either using OAuth or an existing site login (which is basically what `getToken` leverages), then use the resulting JWT to make the API calls for queue availability. But I can’t find any OAuth-compatible API call for this setting, or any way to poke `getToken` from outside of zoom without injecting javascript into [zoom.us](http://zoom.us) and loading it into a private window, or something dodgy like that. I would prefer not to do this dodgily.

If you have any suggestions, I would appreciate them. Even better, maybe Zoom plans to support this directly. That would be welcome.

---

<div class="post-metadata">

**Author:** ![dgc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dgc/32/31882_2.png) [@dgc](https://devforum.zoom.us/u/dgc)\
**Post date:** [October 26, 2021, 7:45pm UTC](https://devforum.zoom.us/t/controlling-call-queue-availability/58841/2 "2021-10-26T19:45:10Z")

</div>

So I gather this is really not possible today?

---

<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:** [November 26, 2021, 5:46am UTC](https://devforum.zoom.us/t/controlling-call-queue-availability/58841/3 "2021-11-26T05:46:11Z")

</div>

Closed on November 26, 2021, 5:46am UTC

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