# Issues setting up custom hours

**URL:** <https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964>\
**Category:** API and Webhooks\
**Created:** [September 12, 2023, 9:39pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964 "2023-09-12T21:39:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![shelby.simpson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shelby.simpson/32/51994_2.png) [@shelby.simpson](https://devforum.zoom.us/u/shelby.simpson)\
**Post date:** [September 12, 2023, 9:39pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/1 "2023-09-12T21:39:11Z")

</div>

I am working with the Zoom Phone API → Call Handling. I am trying to set custom hours. Each day I have someone who works from 3pm to 1am the next day. In the dashboard you would just choose 1am the next day. I need to do this in the API. The problem is that they end up having two shifts for one day becuase of this 3pm to 1am schedule - 12am to 1am and 3pm to 11:59pm

How do I do this with the API? I don’t seem to have the option, maybe I am missing something? Here is the request -  
**http request url:** [https://api.zoom.us/v2/phone/extension/](https://api.zoom.us/v2/phone/extension/)\<extension\_id\>/call\_handling/settings/business\_hours  
**http request body :**

```auto
    {
    "sub_setting_type": "custom_hours",
    "settings": {
        "type": 2,
        "custom_hours_settings": [
            {
                "weekday": 3,
                "type": 2,
                "from": "15:00",
                "to": "23:59"
            }
        ]
    }
}

```

---

<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:** [September 15, 2023, 8:15pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/2 "2023-09-15T20:15:35Z")

</div>

Hi @shelby.simpson  
Thanks for reaching out to us and welcome to our community!  
I will do some testing on my end and will get back to you with an update.  
I want to think that because it is indeed 2 different days this might be the expected behavior, so maybe we will need to come up with a workaround for this.

---

<div class="post-metadata">

**Author:** ![shelby.simpson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shelby.simpson/32/51994_2.png) [@shelby.simpson](https://devforum.zoom.us/u/shelby.simpson)\
**Post date:** [September 15, 2023, 8:30pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/3 "2023-09-15T20:30:37Z")

</div>

yes true, it is 2 different days. To solve this within the dashboard you can choose 1am the next day on that same slot. The problem is that the API doesn’t seem to provide a way do do this same action. Your dashboard must be using an API that gives it this option. I just don’t see it on the public API. I could also be overlooking something but I have gone through the documentation.

Thanks! Greatly appreciated!

---

<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:** [September 18, 2023, 2:40pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/4 "2023-09-18T14:40:47Z")

</div>

Thanks @shelby.simpson  
I will do some testing on my end and will get back to you with a possible workaround

---

<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:** [September 18, 2023, 5:51pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/5 "2023-09-18T17:51:11Z")

</div>

Hi @shelby.simpson  
I was able to replicate this issue on my end.  
I have created an internal ticket to find out if this is expected behavior for our API and I will keep you posted whenever I hear back from my team (ZOOM-599832 internal number for reference)

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![shelby.simpson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shelby.simpson/32/51994_2.png) [@shelby.simpson](https://devforum.zoom.us/u/shelby.simpson)\
**Post date:** [October 3, 2023, 10:00pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/6 "2023-10-03T22:00:09Z")

</div>

Hello Elisa,

Just doing a follow up to see if you heard back from the internal team.

Thanks,  
Shelby

---

<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:** [October 4, 2023, 3:52pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/7 "2023-10-04T15:52:48Z")

</div>

Hi @shelby.simpson  
Thanks for your patience here!  
I have not heard back from my team, I will re-engage on the internal ticket I created and will update you  
Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![shelby.simpson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shelby.simpson/32/51994_2.png) [@shelby.simpson](https://devforum.zoom.us/u/shelby.simpson)\
**Post date:** [October 4, 2023, 4:03pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/8 "2023-10-04T16:03:44Z")

</div>

Thank you, I appreciate it!

---

<div class="post-metadata">

**Author:** ![shelby.simpson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shelby.simpson/32/51994_2.png) [@shelby.simpson](https://devforum.zoom.us/u/shelby.simpson)\
**Post date:** [October 6, 2023, 9:48pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/9 "2023-10-06T21:48:47Z")

</div>

Do you know when they might get back to you? Or if there is a slim chance of a workaround for this situation?

Thanks

---

<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:** [October 9, 2023, 2:25pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/10 "2023-10-09T14:25:15Z")

</div>

Hi @shelby.simpson  
I do not know when they might bet back to me but unfortunately, I was not able to find a workaround via API.  
Sometimes, the behavior in the browser its not 100% the same than the API

---

<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:** [November 28, 2023, 10:14pm UTC](https://devforum.zoom.us/t/issues-setting-up-custom-hours/94964/11 "2023-11-28T22:14:05Z")

</div>

Closed on November 28, 2023, 10:14pm UTC

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