# Update Use Setting API is not working

**URL:** <https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370>\
**Category:** API and Webhooks\
**Created:** [December 13, 2021, 9:50am UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370 "2021-12-13T09:50:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmilova708](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmilova708/32/33288_2.png) [@lmilova708](https://devforum.zoom.us/u/lmilova708)\
**Post date:** [December 13, 2021, 9:50am UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/1 "2021-12-13T09:50:04Z")

</div>

**Description**  
We are facing an issue with “Update Use Setting” API, while we are trying to update the business hour via the API, it’s not working. it’s just working when we change it at least once from the UI.

The API:

> **[Update a call handling setting - Call Handling - Zoom Phone API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-phone-api/call-handling/updatecallhandling)**
>
> Use this API to update a Zoom Phone's call handling setting. For more information, read our Customizing call handling settings documentation.
> 
> Applicabl...

Can you please advice?  
Your help is more than appreciated

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:** [December 13, 2021, 10:03pm UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/2 "2021-12-13T22:03:59Z")

</div>

Hi @lmilova708

Thank you for reaching out to the Zoom Developer Forum, I am happy to help here!  
Could you please share with me the request body that you are sending to the endpoint to try to understand your issue and replicate it.

Please make sure to edit or remove private information  
Best  
Elisa

---

<div class="post-metadata">

**Author:** ![lmilova708](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmilova708/32/33288_2.png) [@lmilova708](https://devforum.zoom.us/u/lmilova708)\
**Post date:** [December 14, 2021, 8:05am UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/3 "2021-12-14T08:05:00Z")

</div>

Hi Elisa,

Thanks for your reply!  
Sure,  
{  
“sub\_setting\_type”: “custom\_hours”,  
“settings”: {  
“type”: 2,  
“custom\_hours\_settings”: [  
{  
“weekday”: 1,  
“type”: 2,  
“from”: “07:00”,  
“to”: “10:00”  
},  
{  
“weekday”: 2,  
“type”: 0  
},  
{  
“weekday”: 3,  
“type”: 0  
},  
{  
“weekday”: 4,  
“type”: 0  
},  
{  
“weekday”: 5,  
“type”: 1  
},  
{  
“weekday”: 6,  
“type”: 1  
}  
]  
}  
}

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 22, 2021, 10:26pm UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/4 "2021-12-22T22:26:27Z")

</div>

Hey @lmilova708

Thanks for following up! I’ve reached out to our engineering to get their insight. I’ll let you know what we hear. (ZOOM-334269)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 27, 2021, 9:09pm UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/5 "2021-12-27T21:09:04Z")

</div>

@lmilova708 So far, we haven’t been able to reproduce the issue but I’ve confirmed this isn’t expected behavior as well.

Are you able to share the full URL that you used when making a request? Our team will use this to investigate our logs.

Max

---

<div class="post-metadata">

**Author:** ![lmilova708](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmilova708/32/33288_2.png) [@lmilova708](https://devforum.zoom.us/u/lmilova708)\
**Post date:** [December 28, 2021, 10:49am UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/6 "2021-12-28T10:49:40Z")

</div>

Hi Max,  
So glad to hear back from you -  
the URL is

> **[Update a call handling setting - Call Handling - Zoom Phone API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-phone-api/call-handling/updatecallhandling)**
>
> Use this API to update a Zoom Phone's call handling setting. For more information, read our Customizing call handling settings documentation.
> 
> Applicabl...

I assume the issue is with the full flow and I explain why:  
if the “User” is existing, we can use the API, but if there’s a new “User” which has never been updated, the API won’t work but after manual setting via the UI and then we can use the API… maybe it will help you to be closer to the specific use case…  
Looking forward to hearing from you  
Thanks a lot!  
Happy New Year 🙂

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 4, 2022, 11:12pm UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/7 "2022-01-04T23:12:33Z")

</div>

Hey @lmilova708,

Thank you for following up on this. When creating a user, they need to accept the invitation and log in to Zoom before you can use the API against that user.

I think that new users haven’t activated their accounts yet which is why you aren’t seeing any changes made when using the API. Does that seem to be the issue?

Thanks,  
Max

---

<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 4, 2022, 9:12am UTC](https://devforum.zoom.us/t/update-use-setting-api-is-not-working/61370/8 "2022-02-04T09:12:47Z")

</div>

Closed on February 4, 2022, 9:12am UTC

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