Enable Screen Sharing By Default

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
This is the body that I am using
{
“topic”: “This is a demo meeting”,
“start_time”: “2020-09-17T05:01:45.221Z”,
“settings”: {
“join_before_host”: true,
“mute_upon_entry”: true,
“waiting_room”:false,
“host_video”:true,
“participant_video”:true
}
}

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 token

Which Endpoint/s?
https://api.zoom.us/v2/users/{userId}/meetings

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

  1. Request URL / Headers (without credentials) / Body
  2. See error

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

Additional context
Add any other context about the problem here.

Hey @jeevan.thomaskoshy

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. :slightly_smiling_face:

Checkout this related thread that may have the answer you are looking for:

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,
DeveloperBot