Logo
Zoom Public API Documentation

Create a variable

POST {{baseUrl}}/contact_center/variables

Create a new variable.

Scopes: contact_center_variable: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

{ "variable_id": "<string>", "variable_group_id": "<string>", "variable_name": "<string>", "variable_description": "<string>", "variable_type": "global_variable", "address_books": [ { "address_book_id": "<string>", "address_book_name": "<string>", "unit_id": "<string>", "unit_name": "<string>", "total_contacts": "<integer>" }, { "address_book_id": "<string>", "address_book_name": "<string>", "unit_id": "<string>", "unit_name": "<string>", "total_contacts": "<integer>" } ], "use_in_reporting": false, "mask_variable_data": false, "use_as_routing_profile_parameters": false, "data_type": "boolean", "value_category": "<string>", "values": [ "<string>", "<string>" ], "linked_value_lock": false, "default_value": "<string>", "use_in_external_url_parameters": "<boolean>", "client_show_in_client_profile_section": "<boolean>", "client_show_in_client_engagement_section": "<boolean>", "client_show_in_inbound_call_notifications": "<boolean>" }



Curl
curl -X POST 'https://api.zoom.us/v2/contact_center/variables' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"data_type":"currency","variable_group_id":"\u003cstring\u003e","variable_name":"\u003cstring\u003e","variable_type":"address_book_variable","variable_description":"\u003cstring\u003e","address_book_ids":["\u003cstring\u003e","\u003cstring\u003e"],"use_in_reporting":false,"mask_variable_data":false,"use_as_routing_profile_parameters":false,"value_category":"\u003cstring\u003e","values":["\u003cstring\u003e","\u003cstring\u003e"],"linked_value_lock":false,"default_value":"\u003cstring\u003e","use_in_external_url_parameters":"\u003cboolean\u003e","client_show_in_client_profile_section":"\u003cboolean\u003e","client_show_in_client_engagement_section":"\u003cboolean\u003e","client_show_in_inbound_call_notifications":"\u003cboolean\u003e"}'

ENDPOINTS