# Enable focus\_mode on createmeeting API?

**URL:** <https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801>\
**Category:** API and Webhooks\
**Created:** [December 23, 2021, 3:16am UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801 "2021-12-23T03:16:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric\_od\_sv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eric_od_sv/32/33542_2.png) [@eric\_od\_sv](https://devforum.zoom.us/u/eric_od_sv)\
**Post date:** [December 23, 2021, 3:16am UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801/1 "2021-12-23T03:16:25Z")

</div>

**Description**  
I’m trying to enable focus\_mode on zoom meeting through API, but I could not enable it to true?

For whatever focus\_mode: true/false in the request, the final meeting response always gives me focus\_mode: false?

I checked my account settings, focus mode it’s enabled

**Error**  
The complete request:

{  
“topic”:“test6”,  
“type”:2,  
“settings”:{  
“auto\_recording”:“cloud”,  
“waiting\_room”:false,  
**"focus\_mode":true,**  
“private\_meeting”:true  
}  
}

The response

{  
“uuid”: “8NuzBnUdT/Ojvi+VY+Gucg==”,  
“id”: 89760511010,  
“host\_id”: “mnTaZo1jRmS21J7F06EURA”,  
“host\_email”: “MASKED”,

…

“settings”: {  
“host\_video”: false,

…

**"focus\_mode": false,**  
“private\_meeting”: true  
},

}

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

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users/yang.hu@opendoor.com/meetings](https://api.zoom.us/v2/users/yang.hu@opendoor.com/meetings)

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

curl --location --request POST ‘[https://api.zoom.us/v2/users/yang.hu@opendoor.com/meetings](https://api.zoom.us/v2/users/yang.hu@opendoor.com/meetings)’   
–header ‘Content-Type: application/json’   
–header ‘Authorization: Bearer MASKED’   
–data-raw ‘{  
“topic”:“test6”,  
“type”:2,  
“settings”:{  
“auto\_recording”:“cloud”,  
“waiting\_room”:false,  
“focus\_mode”:true,  
“private\_meeting”:true  
}  
}’

**Screenshots (If applicable)**

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![eric\_od\_sv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eric_od_sv/32/33542_2.png) [@eric\_od\_sv](https://devforum.zoom.us/u/eric_od_sv)\
**Post date:** [December 23, 2021, 3:18am UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801/2 "2021-12-23T03:18:19Z")

</div>

I tried both focus\_mode true/false under settings.focus\_mode

Doesn’t work to me, the meeting object coming back always has focus\_mode = false

I tried waiting\_room & private\_meeting, works fine

Wonder what’s the right way to enable focus\_mode through createmeeting API?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 28, 2021, 10:38pm UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801/3 "2021-12-28T22:38:06Z")

</div>

@eric_od_sv,

Thank you for posting on the developer forum. Have you tried to add `focus_mode = true` as a param value? In my testing, focus\_mode is enabled when setting the property to true:

 ![Screen Shot 2021-12-28 at 5.37.37 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/a/7a6f1f6795b5bc639d96555fe54694045adfa332.png)

Also, be sure to select `Allow the host to enable focus when scheduling` in your account settings as well:

 ![Screen Shot 2021-12-28 at 5.39.07 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/e/7ec9b326157ecce05e540a667c6999dde12b7bd7.png)

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![eric\_od\_sv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eric_od_sv/32/33542_2.png) [@eric\_od\_sv](https://devforum.zoom.us/u/eric_od_sv)\
**Post date:** [December 29, 2021, 8:12pm UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801/4 "2021-12-29T20:12:26Z")

</div>

Ah thanks, looks like the checkbox of “Allow host to enable focus mode when scheduling” is the key here

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 3, 2022, 6:24pm UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801/5 "2022-01-03T18:24:00Z")

</div>

@eric_od_sv,

Cool beans, thanks for the update, and glad to hear you were able to enable focus mode.

Be sure to reach out should you have additional questions or comments.

Best,  
Donte

---

<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:** [February 3, 2022, 4:24am UTC](https://devforum.zoom.us/t/enable-focus-mode-on-createmeeting-api/61801/6 "2022-02-03T04:24:29Z")

</div>

Closed on February 3, 2022, 4:24am UTC

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