# Cannot set jbh\_time to value other than 0

**URL:** <https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204>\
**Category:** API and Webhooks\
**Created:** [May 13, 2021, 1:19pm UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204 "2021-05-13T13:19:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![guilherme.freitas](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@guilherme.freitas](https://devforum.zoom.us/u/guilherme.freitas)\
**Post date:** [May 13, 2021, 1:19pm UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/1 "2021-05-13T13:19:42Z")

</div>

**Description**  
I’ve been trying to set jbh\_time in order to limit the time when users are able to join the scheduled meeting to 10 minutes before the meeting starts. However, although join\_before\_host is enabled and waiting\_room is disabled, jbh\_time is always set to 0 and users can join anytime.

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

**Which Endpoint/s?**  
Meeting creation, update, get

**Request**  
Request body:

```python
{
   "user_id":"XXXXXX",
   "topic":"test meeting",
   "password":"XXXXX",
   "timezone":"America/Sao_Paulo",
   "start_time":"2021-05-13T13:20:00Z",
   "settings":{
      "jbh_time":10,
      "waiting_room":false,
      "join_before_host":true
   },
   "type":2
}

```

Response:

```auto
{
   "uuid":"XXXXXX==",
   "id":XXXXX,
   "host_id":"XXXXX",
   "host_email":"XXXXXX",
   "topic":"test meeting",
   "type":2,
   "status":"waiting",
   "start_time":"2021-05-13T13:20:00Z",
   "duration":60,
   "timezone":"America/Sao_Paulo",
   "created_at":"2021-05-13T13:12:31Z",
   "start_url":"XXXX,
   "join_url":"XXX",
   "password":"XXXXXX",
   "h323_password":"XXXXX",
   "pstn_password":"XXXXX",
   "encrypted_password":"XXXXXX",
   "settings":{
      "host_video":false,
      "participant_video":false,
      "cn_meeting":false,
      "in_meeting":false,
      "join_before_host":true,
      "jbh_time":0,
      "mute_upon_entry":false,
      "watermark":false,
      "use_pmi":false,
      "approval_type":2,
      "audio":"both",
      "auto_recording":"none",
      "enforce_login":false,
      "enforce_login_domains":"",
      "alternative_hosts":"",
      "close_registration":false,
      "show_share_button":false,
      "allow_multiple_devices":false,
      "registrants_confirmation_email":true,
      "waiting_room":false,
      "request_permission_to_unmute_participants":false,
      "global_dial_in_countries":[
         "US"
      ],
      "global_dial_in_numbers":[...],
      "registrants_email_notification":true,
      "meeting_authentication":false,
      "encryption_type":"enhanced_encryption",
      "approved_or_denied_countries_or_regions":{
         "enable":false
      },
      "breakout_room":{
         "enable":false
      },
      "alternative_hosts_email_notification":true,
      "device_testing":false
   }
}

```

Is it possible to set a minimum time to join (without a host) any other way? Is there something I’m forgetting to set as well?

Thanks in advance

---

<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:** [May 14, 2021, 7:02pm UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/2 "2021-05-14T19:02:11Z")

</div>

Hi @guilherme.freitas,

Thanks for reaching out about this, and good question. I believe you’re likely facing the same behavior as I’ve described here:

> [@Jbh\_time setting to 10, but response gives 0 always](https://devforum.zoom.us/t/jbh-time-setting-to-10-but-response-gives-0-always/49720/2):
>
> Hi @asd1, If you’re not seeing the jbh\_time field reflected in the meeting you’re creating via API, this is typically a result of the account settings for the user or account you’re creating the meeting under. When you make a request to our Create Meeting API endpoint, it will reference your user/account settings and sometimes these can override the content of your request. In order to avoid this, you’ll need to ensure you have the following setting checked off and set as “anytime”: …

Let me know if this helps!  
Will

---

<div class="post-metadata">

**Author:** ![guilherme.freitas](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@guilherme.freitas](https://devforum.zoom.us/u/guilherme.freitas)\
**Post date:** [May 17, 2021, 11:52am UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/3 "2021-05-17T11:52:58Z")

</div>

This did help a lot indeed! Now it works perfectly as intended.

Although I can update the user settings through the API to allow for JBH, would I be able to set the JBH time for the user through the API? (Similar to checking the box manually)

Thanks for the help!

---

<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:** [May 17, 2021, 4:34pm UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/4 "2021-05-17T16:34:06Z")

</div>

Hi @guilherme.freitas,

Glad this helped! At this time, this setting must first be checked off manually in the UI for the API request to update it to work correctly.

However, we are working on improving this experience, and understand it’s not ideal.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![guilherme.freitas](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@guilherme.freitas](https://devforum.zoom.us/u/guilherme.freitas)\
**Post date:** [May 17, 2021, 5:07pm UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/5 "2021-05-17T17:07:47Z")

</div>

No problem, it’ll be a bit boring to check off the multitude of boxes, but I’m thankful for the help and attention. If you want, you can close this question for now

---

<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:** [May 17, 2021, 5:28pm UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/6 "2021-05-17T17:28:34Z")

</div>

Thanks, @guilherme.freitas—I appreciate this feedback, and you raise a great point. Don’t hesitate to reach back out with any other questions.

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:** [June 17, 2021, 3:29am UTC](https://devforum.zoom.us/t/cannot-set-jbh-time-to-value-other-than-0/50204/7 "2021-06-17T03:29:33Z")

</div>

Closed on June 17, 2021, 3:29am UTC

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