Logo
Zoom Public API Documentation

Create a closure set

POST {{baseUrl}}/contact_center/closures

Create a new closure set.

Scopes: contact_center_queue:write:admincontact_center_operating_hours: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

{ "account_default": "<boolean>", "closure_set_description": "<string>", "closure_set_id": "<string>", "closure_set_name": "<string>", "closures": [ { "closure_hour_type": 1, "closure_name": "<string>", "end_time": "<string>", "recurring_frequency": 1, "start_time": "<string>", "closure_id": "<string>", "recurring_frequency_type": 1, "recurring_month": 3, "recurring_week_interval": "<integer>", "recurring_days_of_week": [ "<string>", "<string>" ] }, { "closure_hour_type": 1, "closure_name": "<string>", "end_time": "<string>", "recurring_frequency": 0, "start_time": "<string>", "closure_id": "<string>", "recurring_frequency_type": 1, "recurring_month": 2, "recurring_week_interval": "<integer>", "recurring_days_of_week": [ "<string>", "<string>" ] } ], "timezone": "<string>" }



Curl
curl -X POST 'https://api.zoom.us/v2/contact_center/closures' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"closure_set_name":"\u003cstring\u003e","closures":[{"closure_hour_type":2,"closure_name":"\u003cstring\u003e","end_time":"\u003cstring\u003e","recurring_frequency":2,"start_time":"\u003cstring\u003e","recurring_frequency_type":2,"recurring_month":5,"recurring_week_interval":"\u003cinteger\u003e","recurring_days_of_week":["\u003cstring\u003e","\u003cstring\u003e"]},{"closure_hour_type":2,"closure_name":"\u003cstring\u003e","end_time":"\u003cstring\u003e","recurring_frequency":0,"start_time":"\u003cstring\u003e","recurring_frequency_type":2,"recurring_month":4,"recurring_week_interval":"\u003cinteger\u003e","recurring_days_of_week":["\u003cstring\u003e","\u003cstring\u003e"]}],"timezone":"\u003cstring\u003e","closure_set_description":"\u003cstring\u003e","account_default":"\u003cboolean\u003e"}'

ENDPOINTS