# Unable to push/update Zoom Phone User Calling Plan

**URL:** <https://devforum.zoom.us/t/unable-to-push-update-zoom-phone-user-calling-plan/132683>\
**Category:** API and Webhooks\
**Created:** [May 12, 2025, 5:39pm UTC](https://devforum.zoom.us/t/unable-to-push-update-zoom-phone-user-calling-plan/132683 "2025-05-12T17:39:10Z")\
**Posts on this page:** 3\
**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:** [May 12, 2025, 5:39pm UTC](https://devforum.zoom.us/t/unable-to-push-update-zoom-phone-user-calling-plan/132683/1 "2025-05-12T17:39:10Z")

</div>

Hello everyone,

This is my first time posting, and I’m having some trouble with getting a specific API connection/push/update going and I’m needing some assistance. Details below.

**API Endpoint(s) and/or Zoom API Event(s)**  
_/phone/users/[userid]/calling\_plans_

**Description**  
_I am trying to develop a PowerShell script to update a user’s Zoom Phone Calling plan from Basic to US/CA Unlimited Calling plan. This is going through an OAuth2.0 custom app token in our environment._

_I have reviewed the API documentation on Zoom’s website, as well as a few other variations I’ve seen in other forum posts and even tested some details provided by GitHub Copilot. I keep receiving a bad request error from the server, even though I’ve confirmed I can use the same endpoint to pull the current user information._

**Error?**  
_The remote server returned an error: (400) Bad Request._

**How To Reproduce**  
_Here is my current code attempt to identify the proper details needed to pass this request:_

\*# Step 5: Assign the US/CA Unlimited Calling Plan to the user  
$callingPlanEndpoint = “[https://api.zoom.us/v2/phone/users/$ZoomUserID/calling\_plans](https://api.zoom.us/v2/phone/users/$ZoomUserID/calling_plans)”  
$callingPlanBody = @{  
type=200  
#name = “US/CA Unlimited Calling”  
} | ConvertTo-Json -Depth 2

```
try {
    $response = Invoke-WebRequest -Method POST -Uri $callingPlanEndpoint -Headers $apiHeaders -Body $callingPlanBody
    Write-Host "Successfully assigned US/CA Unlimited Calling Plan to user $LogonID." -ForegroundColor Green
} catch {
    Write-Host "Failed to assign US/CA Unlimited Calling Plan to user $LogonID." -ForegroundColor Red
    Write-Host $_.Exception.Message
}

```

I’ve seen different sources each indicate requirements for the necessary Body data. I’ve seen in some cases, only the type value being required, in other it asks for both source\_type and target\_type. I’ve had no success in any case.

I have other logic to confirm the user information is being identified / passed successfully, and my authentication token is correct. I’m not sure what I may be doing wrong here.

Any help is greatly appreciated!

Thank you,

---

<div class="post-metadata">

**Author:** ![rarps](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rarps/32/66632_2.png) [@rarps](https://devforum.zoom.us/u/rarps)\
**Post date:** [May 12, 2025, 6:05pm UTC](https://devforum.zoom.us/t/unable-to-push-update-zoom-phone-user-calling-plan/132683/2 "2025-05-12T18:05:25Z")

</div>

I don’t know powershell, but by the looks of it, it’s your callingplanbody. The schema is an array of calling plans, and the billing\_account\_id if required (you don’t need that one since you’re not in india).  
So the data you’re actually posting should look like:  
{“calling\_plans”: [{“type”:200}]}

---

<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:** [May 16, 2026, 9:41am UTC](https://devforum.zoom.us/t/unable-to-push-update-zoom-phone-user-calling-plan/132683/3 "2026-05-16T09:41:27Z")

</div>

Closed on May 16, 2026, 9:41am UTC

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