Logo
Zoom Public API Documentation

Add a policy setting to a call queue

POST {{baseUrl}}/phone/call_queues/:callQueueId/policies/:policyType

Use this API to add the policy sub-setting for a specific call queue according to the policyType. For example, you can use this API to set up shared access members.

Prerequisites: * Pro or higher account with Zoom Phone license. * Account owner or admin privileges

Scopes: phone:write:admin

Granular Scopes: phone:write:call_queue_policy:admin

Rate Limit Label: Light

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "voicemail_access_members": [ { "access_user_id": "<string>", "allow_download": "<boolean>", "allow_delete": "<boolean>", "allow_sharing": "<boolean>", "shared_id": "<string>" }, { "access_user_id": "<string>", "allow_download": "<boolean>", "allow_delete": "<boolean>", "allow_sharing": "<boolean>", "shared_id": "<string>" } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/call_queues/:callQueueId/policies/:policyType' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"voicemail_access_members":[{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e"},{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e"}]}'

ENDPOINTS