Issues setting up custom hours

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/<extension_id>/call_handling/settings/business_hours
http request body :

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

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.

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!

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

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

Hello Elisa,

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

Thanks,
Shelby

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

Thank you, I appreciate it!

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

Thanks

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

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