AddQueue

View as Markdown

Adds a new ACD queue.

Allowed roles: Owner, Admin, Developer.

Example request: Add a new ACD queue for the application 1.

Authentication

AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

application_idintegerOptional

The application ID. Required unless application_name is provided.

application_namestringOptional

The application name. Required unless application_id is provided.

acd_queue_namestringRequired
The queue name. The length must be less than 100
acd_queue_priorityintegerOptionalDefaults to 100
The integer queue priority. The highest priority is 0
auto_bindingbooleanOptionalDefaults to true
Whether to enable the auto binding of operators to a queue by skills comparing
service_probabilitydoubleOptional0.5-1Defaults to 1

The value in the range of [0.5 … 1.0]. The value 1.0 means the service probability 100% in challenge with a lower priority queue

max_queue_sizeintegerOptional
The max queue size
max_waiting_timeintegerOptional
The max predicted waiting time in minutes. The client is rejected if the predicted waiting time is greater than the max predicted waiting time
average_service_timeintegerOptional
The average service time in seconds. Specify the parameter to correct or initialize the waiting time prediction

Response

Successful response
resultinteger
Returns 1 if the request has been completed successfully
acd_queue_idinteger
The ACD queue ID