I opened a ticket with Zoom support but they directed me here.
I’m trying to migrate 3,000+ extensions to Zoom, trying to create a common area users/extensions calling /v2/phone/common_areas with the following JSON:
{
“calling_plans”: [{ “type”: 3000 }],
“country_iso_code”: “US”,
“display_name”: “Mgr.Cordless_435”,
“extension_number”: 10,
“site_id”: “QQ_xZ-p-SvalHps4hCMFpw”,
“timezone”: “America/New_York”
}
And I’m getting the following in return;
{
“code”: 300,
“message”: “Request Body should be a valid JSON object.”
}
I’ve reviewed the documentation and I’m not sure what I’m missing or what’s mis-formatted. The JSON above is valid and I believe I have all the ‘required’ fields.
Anyone have a demo JSON that I could model after?
The site ID is a valid site within Zoom Phone. If I dump the common areas created in the webUI I see the following:
{ "id": "3nJRJZLBRaqfJQiNh2gnpQ", "site": { "id": "wZju9a-MR5Kq7Omg6M-O-Q", "name": "STORE_01472" }, "display_name": "Mgr Office EXT 11", "extension_number": 6147211, "calling_plans": [ { "type": 3000, "name": "Zoom Phone Pro" } ], "desk_phones": [ { "id": "Bz_C4XE0TSuZ2etx3BmOZw", "display_name": "Mgr. Office Ext 11", "device_type": "Poly vvx350", "status": "online" } ]
Looking for any tips or pointers.
Thanks,
Mike