Description
In the description of the API endpoint it says that the “outbound_caller_id” is not required and if left blank it will hide the caller ID, however when I try to actually call the endpoint without an outbound_caller_id it says “Outbound Caller ID is unavailable”.
Hi @dev.emily.garner
Thanks for reaching out to us!
Can you please share the entire request body you are sending so I can try and reproduce this on my end
@dev.emily.garner I tried reproducing your scenario but I am unable to.
I tried omitting the outbound caller id when batch creating a user and it completed successfully:
REQUEST:
POST https://api.zoom.us/v2/phone/users/batch
{"users":[{"email":"<redacted for privacy>","calling_plans":["US/CA Unlimited"],"extension_number":"803"}]}
RESPONSE:
HTTP/1.1 201 Created
x-zm-trackingid: WEB_115631025b4cabde7cc79baba439acb0
[{"id":"6pVBBJUMSg-7Z2ZtPz3mww","email":"<redacted for privacy>"}]
I tried specifying a empty string
REQUEST:
POST https://api.zoom.us/v2/phone/users/batch
{“users”:[{“email":"<redacted for privacy>”,“calling_plans”:[“US/CA Unlimited”],“extension_number”:“803”,“outbound_caller_id”:“”}]}
RESPONSE:
HTTP/1.1 201 Created
x-zm-trackingid: WEB_8bab5cf523e04f2245dbef857af59c46
[{“id":“6pVBBJUMSg-7Z2ZtPz3mww”,“email”:"<redacted for privacy>”}]
I also tried specifying a null value
REQUEST:
POST https://api.zoom.us/v2/phone/users/batch
{“users”:[{“email":"<redacted for privacy>”,“calling_plans”:[“US/CA Unlimited”],“extension_number”:“803”,“outbound_caller_id”:null}]}
RESPONSE:
HTTP/1.1 201 Created
x-zm-trackingid: WEB_cc8bd44459769891a37ed8fc903a2bd0
[{“id":“6pVBBJUMSg-7Z2ZtPz3mww”,“email”:"<redacted for privacy>”}]
Maybe there’s something slightly different in the payload you submit to the API?
I am still unable to reproduce, even when using the payload you just posted which leads me to think that something else must be at play (like an account setting, or something along those lines, for example). There’s a header called x-zm-trackingidin the response you get from the Zoom API. If you post the value of this header, maybe someone from Zoom’s engineering team can investigate their log an find more info about your situation.
Hi @dev.emily.garner
I do have an update.
I was informed that although it is not necessary to specify the outbound_caller_id, there is a prerequisite and it is that you must have a company number or site level outboud phone number.