# How to enable screen share and custom live stream for participant while creating meeting through API

**URL:** <https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221>\
**Category:** API and Webhooks\
**Created:** [November 17, 2020, 10:33am UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221 "2020-11-17T10:33:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cs\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cs_dev/32/2560_2.png) [@cs\_dev](https://devforum.zoom.us/u/cs_dev)\
**Post date:** [November 17, 2020, 10:33am UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/1 "2020-11-17T10:33:53Z")

</div>

**Description**  
I want to enable Screen Sharing by default for all the meetings that I create via API. I am using this API to create a new meeting.  
[https://api.zoom.us/v2/users/{userId}/meetings](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)  
This is the body that I am using  
`{Preformatted text "topic": "Meeting name", "type": 2, //schedule meeting "start_time": "2020-01-18T05:01:45.221Z", "duration": 240, "timezone": "Asia/Dubai", "password": "password", "agenda": "Meeting agenta", "settings": { "host_video": "false", "waiting_room": "false", "join_before_host": "true", "hd_video": "true", "approval_type": 2, "audio": "both", "auto_recording": "none", "enforce_login": "false", "close_registration": "true", "show_share_button": "true", "allow_multiple_devices": "false", "registrants_email_notification": "false" } }`

I tried looking at the online documentation, but couldn’t find a field in the request to allow screen sharing to be turned on.

**Error**  
Whenever I try to share screen on a meeting generated by this API, I get the message saying `Screen Sharing is disabled by the host` .

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

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

---

<div class="post-metadata">

**Author:** ![cs\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cs_dev/32/2560_2.png) [@cs\_dev](https://devforum.zoom.us/u/cs_dev)\
**Post date:** [November 18, 2020, 8:52am UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/2 "2020-11-18T08:52:22Z")

</div>

Dear Team,  
Also not able to use `Alternative Hosts`, it’s saying to add the user to my account and after adding the user to my account it says “ **email is not a paid user** ”

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 18, 2020, 10:32pm UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/3 "2020-11-18T22:32:49Z")

</div>

Hi @cs_dev,

Screen sharing will be enabled by default for meetings you create, unless you explicitly turn this off in your Account Settings.

In regards for the alternative\_hosts field, the user you designate here must be a licensed user. The error message you’re receiving means the user is Basic/free.

Let me know if this helps to clarify,  
Will

---

<div class="post-metadata">

**Author:** ![cs\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cs_dev/32/2560_2.png) [@cs\_dev](https://devforum.zoom.us/u/cs_dev)\
**Post date:** [November 21, 2020, 11:04am UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/4 "2020-11-21T11:04:58Z")

</div>

Hi @will.zoom, thanks for the reply. In my settings, I enable the screen sharing option for all participants, but when I create a meeting through API and joined the meeting not able to share the screen. Please refer to the screenshot.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/c/bc7928e52896eb9bda1ebf3387578406a06d825c.png)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 23, 2020, 10:25pm UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/5 "2020-11-23T22:25:29Z")

</div>

Hi @cs_dev,

Thanks for sharing this—can you provide one of the Meeting IDs you’re testing with? I’m happy to take a closer look.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![cs\_dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cs_dev/32/2560_2.png) [@cs\_dev](https://devforum.zoom.us/u/cs_dev)\
**Post date:** [November 27, 2020, 6:05am UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/6 "2020-11-27T06:05:35Z")

</div>

Hi @will.zoom, the meeting ids are 86018702911, 86416366484, 87941762172, 89024335532, 83353891412, 81022404717, 89493669018

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 30, 2020, 8:05pm UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/7 "2020-11-30T20:05:26Z")

</div>

Hi @cs_dev,

Thanks for sharing these IDs—in taking a look at the first few, it appears that the host’s settings are set to “Host Only”:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/5/95b78ff8144524d4a45eff6626abe4183a91466b.png)

Since the account wide settings are not locked, this means the API request will honor the host’s settings.

Let me know if this helps to clarify things!

Best,  
Will

---

<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:** [December 31, 2020, 6:05am UTC](https://devforum.zoom.us/t/how-to-enable-screen-share-and-custom-live-stream-for-participant-while-creating-meeting-through-api/36221/8 "2020-12-31T06:05:40Z")

</div>

Closed on December 31, 2020, 6:05am UTC

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