# Need help setting "Missed Call Routing" for users

**URL:** <https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032>\
**Category:** API and Webhooks\
**Created:** [October 13, 2025, 10:27pm UTC](https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032 "2025-10-13T22:27:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MithosAurion](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mithosaurion/32/69063_2.png) [@MithosAurion](https://devforum.zoom.us/u/MithosAurion)\
**Post date:** [October 13, 2025, 10:27pm UTC](https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032/1 "2025-10-13T22:27:38Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**

[https://api.zoom.us/v2/phone/extension/$($ExtensionID)/call\_handling/settings/business\_hours](https://api.zoom.us/v2/phone/extension/$($ExtensionID)/call_handling/settings/business_hours)

**Description**  
_I am trying to use this API endpoint to remotely set a user’s Business Hours Call Handling “When a call is not answered” routing to point to a target Call Queue with PowerShell._

**Error?**  
_I’m essentially just getting a (400) Bad Request error from the server. I’m pretty sure my JSON file is not constructed properly, but the API documentation does not have any code examples for changing the Call Handling pieces. There is a discrepancy between the naming conventions in the documentation and what I’m seeing in PowerShell._

- Documentation says to use the **call\_not\_answered\_action** property, but a GET command of the call handling settings shows the property is called **action.**
- Documentation says to use **forward\_to\_extension\_id** , but a GET command of the call handling settings shows the property is called just **forward\_to**.

_Needless to say, I’m stuck and seeking some assistance here. I’ve spent several hours trying to reformat the JSON request, both with the details in the documentation, and those pulled directly with a GET command from the API itself, and neither are working._

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Body:_

```auto
        # Create the necessary JSON body for the PATCH request
        $settingsBody = @{
            settings = @{
                routing = @{
                    action = 7
                    forward_to = @{
                        extension_type = "callQueue"
                        id = "$CallQueueID"
                    }
                }
            }
        } | ConvertTo-Json -Depth 5

```

_2. API Call:_

Invoke-WebRequest -Method PATCH -Uri $settingsEndpoint -Headers $apiHeaders -Body $settingsBody -ContentType “application/json”

Any assistance would be greatly appreciated. Thank you!

---

<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 16, 2025, 8:29pm UTC](https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032/2 "2025-10-16T20:29:57Z")

</div>

Hi @MithosAurion  
Thanks for reaching out to us!  
I have done some testing on my end and it seems like you are not passing the right json body.  
Can you please try something like this:

```auto
{

  "sub_setting_type": "call_forwarding",
   "settings": {
    "call_not_answer_action": 10,
    "forward_to_extension_id": "target_call_queue_id",
    "greeting_prompt_id": ""
  }
}

```

Find more examples here: [Call Handling API guide](https://developers.zoom.us/docs/phone/call-handling/#sample-code-3)

---

<div class="post-metadata">

**Author:** ![MithosAurion](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mithosaurion/32/69063_2.png) [@MithosAurion](https://devforum.zoom.us/u/MithosAurion)\
**Post date:** [October 17, 2025, 8:19pm UTC](https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032/3 "2025-10-17T20:19:06Z")

</div>

Good morning Elisa,

Thank you for your reply and update.

Using your information and cross-references gleaned from a GET command in the API with a Call Queue actively set for myself, I was able to discover the appropriate body setup for the JSON in this case:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/9/f9fb3c3ed622a99c7b9c147a45e7ec73ef0d6560.png)

Using this, I successfully updated the Business Hours missed call routing target to the desired Call Queue.

However, I want to point out, this was exceptionally difficult to figure out because the name of the properties are different in PATCH than GET (call\_not\_answer\_action vs action, forward\_to\_extension\_id vs forward\_to), and the “routing” subsetting property is technically the top hierarchy but was not actually needed at all.

You can consider this closed/resolved.

---

<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 20, 2025, 1:29pm UTC](https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032/4 "2025-10-20T13:29:09Z")

</div>

Hi @MithosAurion  
Thanks a lot for your feedback and I will make sure to share this with our Documentation team and with our API team so we can improve these endpoints.

---

<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:** [October 21, 2025, 1:29pm UTC](https://devforum.zoom.us/t/need-help-setting-missed-call-routing-for-users/138032/5 "2025-10-21T13:29:14Z")

</div>

Closed on October 21, 2025, 1:29pm UTC

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