Use this API to create a queue. This API allows the logged in user to create only one queue at a time.
All of the following are required:
The request body is mandatory. Request body can be in either XML or JSON format.
Name | Description |
---|---|
name | Name of the queue to be created. Queue name must be unique in the department. |
department.name | Name of the department in which the queue should be created. |
Name | Description |
---|---|
description | Description of the queue. Must be at least 1 character. |
active | Attribute to indicate whether the queue is active or not. A queue is created as active if this is not provided. |
bookmarks | List of articles to be bookmarked for the queue. The number of bookmark articles must not be more than 75. Each of the article must belong to the same department as the queue. None of the articles must be a personalized article. None of the articles must be global bookmarks. |
channels | Channel specific configuration attributes. Please refer to the below section for individual channel specific attributes. These attributes are available for the following channels: chat, email, social |
externalId | A unique external ID for the queue. Must be at least 1 character. |
customAttributes | Custom attributes for the queue. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. |
Name | Description |
---|---|
routing.type.value | Value indicating how routing happens. Must be "load_balanced" or "none". One of routing.condition.users or routing.condition.groups must be provided if the value provided for routing.type.value is "load_balanced". |
routing.condition.value | The condition in which routing should happen. This must be "when_available". This must be provided when the value provided for routing.type.value is "load_balanced". This must not be provided when the value provided for routing.type.value is "none" |
routing.condition.users | Users to whom the chat activities have to be routed to. The users must belong to the department of the queue. This can be provided only when the value provided for routing.type.value is "load_balanced". This must not be provided when the value provided for routing.type.value is "none". |
routing.condition.groups | Groups to which the chat activities have to be routed to. This can be provided only when the value provided for routing.type.value is "load_balanced". This must not be provided when the value provided for routing.type.value is "none". |
default | Indicates whether this is the default chat queue for the department. |
priority.value | Priority of the queue. If this is not provided, the queue is created with medium priority. |
maxQueueDepth | Maximum chat queue depth. |
quickLinks | Quick link articles for the queue. The number of quick link articles must not be more than 75. All these articles must be quick link articles in the department of the queue. None of them must be a personalized article. |
quickResponses | Quick response articles for the queue. The number of quick response articles must not be more than 150. All these articles must be quick responses in the department of the queue. None of them must be a personalized article. |
alternativeEngagement.enabled | Attribute to indicate whether alternative engagement is enabled. If not provided, the queue is created with alternative engagement disabled. |
alternativeEngagement.waitTime | Time to wait before alternative engagement can be displayed. This must be provided when alternativeEngagement is enabled. This must not be provided when alternativeEngagement is disabled. |
attachments.enabledForAgent | Attribute to indicate whether attachments can be used by agents. If not provided, attachments are disabled for the agents. |
attachments.enabledForCustomer | Attribute to indicate whether attachments can be used by customers. If not provided, attachments are disabled for the customers. |
extendedCustomerSessionTimeoutValue | Timeout value in minutes, for customers who have initated chat on this queue. |
Name | Description |
---|---|
routing.type.value | Value indicating how routing happens. Must be "load_balanced", "round_robin" or "none". One of routing.condition.users or routing.condition.groups must be provided if the value provided for routing.type.value is "load_balanced" or "round_robin". |
routing.condition.value | The condition in which routing should happen. This can be "when_available" or "always". This must be provided when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none". |
routing.condition.users | Users to whom the email activities have to be routed to. The users must belong to the department of the queue. This can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none". |
routing.condition.groups | Groups to which the email activities have to be routed to.\tThis can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none". |
articles.header | Article to be used as header for emails in this queue. Must be a header article in the department of the queue. Must not be a personalized article. |
articles.footer | Article to be used as footer for emails in this queue. Must be a footer article in the department of the queue. Must not be a personalized article. |
articles.greeting | Article to be used as greeting for emails in this queue. Must be a greeting article in the department of the queue. Must not be a personalized article. |
articles.signature | Article to be used as signature for emails in this queue. Must be a signature article in the department of the queue. Must not be a personalized article. |
includeOriginalMessageInReply | Attribute to indicate whether to include original message in reponses or not. If not provided, original message is included in the response. |
Name | Description |
---|---|
routing.type.value | Value indicating how routing happens. Must be "load_balanced", "round_robin" or "none". One of routing.condition.users or routing.condition.groups must be provided if the value provided for routing.type.value is "load_balanced" or "round_robin". |
routing.condition.value | The condition in which routing should happen. This can be "when_available" or "always". This must be provided when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none". |
routing.condition.users | Users to whom the social activities have to be routed to. The users must belong to the department of the queue. This can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none". |
routing.condition.groups | Groups to which the social activities have to be routed to. This can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none". |
When created successfully
Bad Request
Unauthorized
Forbidden
Not Acceptable
Internal server error
{- "name": "Auto Loans",
- "department": {
- "name": "Service"
}
}
{- "code": "400-101",
- "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}