Logo
Zoom Public API Documentation

Add a site setting

POST {{baseUrl}}/phone/sites/:siteId/settings/:settingType

Sites allow you to organize Zoom Phone users in your organization. Use this API to add a site setting to a specific site according to the setting type.

Prerequisites: * Account must have a Pro or a higher plan with Zoom Phone license. * Multiple sites must be enabled.

Scope: phone:write:admin

Rate Limit Label: Light

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "holidays": [ { "holiday_id": "i3gP6xFUTHqSFrIE6nHs7Q", "name": "Holiday 1", "from": "2022-03-08T16:00:00Z", "to": "2022-03-09T16:00:00Z" }, { "holiday_id": "i3gP6xFUTHqSFrIE6nHs7Q", "name": "Holiday 1", "from": "2022-03-08T16:00:00Z", "to": "2022-03-09T16:00:00Z" } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/sites/:siteId/settings/:settingType' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"device_type":"Poly trioc60","holidays":[{"name":"Holiday 1","from":"2022-03-08T16:00:00Z","to":"2022-03-09T16:00:00Z"},{"name":"Holiday 1","from":"2022-03-08T16:00:00Z","to":"2022-03-09T16:00:00Z"}]}'

ENDPOINTS