# Enable screen sharing for participants using the API when creating meetings

**URL:** <https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394>\
**Category:** API and Webhooks\
**Created:** [July 18, 2022, 11:11am UTC](https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394 "2022-07-18T11:11:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harjas](https://avatars.discourse-cdn.com/v4/letter/h/f19dbf/32.png) [@Harjas](https://devforum.zoom.us/u/Harjas)\
**Post date:** [July 18, 2022, 11:11am UTC](https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394/1 "2022-07-18T11:11:59Z")

</div>

**Description**  
Hi,  
I have been using the API to create open meetings without a waiting room. In the scenario that the organiser is not present, the participants are unable to share their screen and an error message for the same is displayed. I am also aware that there is an option in the Account settings to enable this feature.

However, this extra step is proving to be a hassle for our users who want this feature to be enabled by default. Is there any way our app can access the permission for this or enable this feature using the API ?

**Error?**  
`Screen Sharing is disabled by the host` .

**API Endpoint/s?**  
[https://api.zoom.us/v2/users/{userId}/meetings](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Request URL / Headers (without credentials) / Body_  
_2. Authentication method or app type_  
_3. Any errors_

**Additional context**  
_Add any other context about the problem here._

---

<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:** [July 19, 2022, 2:58pm UTC](https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394/2 "2022-07-19T14:58:09Z")

</div>

Hi @Harjas  
Thank you so much for reaching out to the Zoom Developer Forum and welcome to our community! I am happy to help here with this issue.

A workaround that comes to my mind right now is by calling the endpoint Update user settings via API and in the “in\_meeting” field, you will be able to enable o disable the “disable\_screen\_sharing\_for\_hosts\_meetings” and/or “disable\_screen\_sharing\_for\_in\_meeting\_guests”.

> **[Zoom Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/)**
>
> The Zoom Meeting APIs let developers to access information from Zoom. You can use this API to build private services or public applications on the Zoom App Marketplace. To learn how to get your credentials and create private/p...

Let me know if this helps!  
Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![Harjas](https://avatars.discourse-cdn.com/v4/letter/h/f19dbf/32.png) [@Harjas](https://devforum.zoom.us/u/Harjas)\
**Post date:** [July 20, 2022, 5:34am UTC](https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394/3 "2022-07-20T05:34:39Z")

</div>

Hi @elisa.zoom  
Thank you so much for suggesting this workaround. It should fulfil our requirement for enabling screen sharing by default.  
Thanks again for the help !

---

<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:** [July 20, 2022, 12:18pm UTC](https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394/4 "2022-07-20T12:18:29Z")

</div>

Of course @Harjas  
Let me know if there is anything else you need!  
Cheers,  
Elisa

---

<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 19, 2022, 10:19pm UTC](https://devforum.zoom.us/t/enable-screen-sharing-for-participants-using-the-api-when-creating-meetings/72394/5 "2022-08-19T22:19:29Z")

</div>

Closed on August 19, 2022, 10:19pm UTC

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