Assign available phone numbers to an auto receptionist. The available numbers can be retrieved using the List Phone Numbers API with type query parameter set to "unassigned".Prerequisites:
Pro or higher account plan with Zoom Phone License
Account owner or admin permissions Scopes:phone:write:admin
curl--location--request POST 'http://api.zoom.us/v2/phone/auto_receptionists//phone_numbers'
响应示例响应示例
204 - 示例 1
null
请求参数
Path 参数
Body 参数multipart/form-data
返回响应
🟢204**HTTP Status Code:** `204` **No Content**<br>
Phone numbers assigned successfully.
application/json
Body
🟠400
**HTTP Status Code:** `400` **Bad Request**<br>
**Error Code:** `400`<br>
Unable to update this number as it is used for outbound caller ID to public safety answering point.<br>
Phone number does not exist, phonenumberId:{phonenumberId}<br>
phoneNumber i
🟠404**HTTP Status Code:** `404` **Not Found**<br><br>
**Error Code:** `404`<br>
AutoReceptionist does not exist, AutoReceptionistId: {autoReceptionId}.