Security
bearerAuth and apiKeyAuth
Time for which a task should wait to be assigned to the sticky agent, if it comes post active conversation timeout but within stickiness timeout.
This would be used to sort the inflow and assign work based on the selected value. Example: Sort by Work creation time would assign the oldest work first.
- Production Serverhttps://api3.sprinklr.com/prod/api/v3/workQueue
- Mock serverhttps://developer.sprinklr.com/_mock/apis/sprinklr-v3/workQueue
curl -i -X POST \
https://api3.sprinklr.com/prod/api/v3/workQueue \
-H 'Authorization: Bearer <YOUR_Token_HERE>' \
-H 'Content-Type: application/json' \
-H 'Key: YOUR_API_KEY_HERE' \
-d '{
"id": "string",
"workQueueName": "string",
"workQueueType": "string",
"useUnifiedRouting": true,
"assignmentProvider": "string",
"routingStrategy": "string",
"userGroups": [
"string"
],
"users": [
"string"
],
"availableStatuses": [
"string"
],
"stickinessStrategy": "string",
"stickinessTimeout": 0,
"capacity": 0,
"maxRejectionCountPerUser": 0,
"maxRejectionCount": 0,
"answeringTimeout": "string",
"activeConversationTimeout": 0,
"stickinessCapacityCheck": true,
"stickinessWaitTimeout": 0,
"activeConversationTimeoutCapacity": 0,
"waitForAgentConfirmation": true,
"agentWaitTime": 0,
"agentWaitTimeUnit": "string",
"deleted": true,
"sortKey": "string",
"sortDirection": "string",
"backupAssignmentStrategy": "string",
"backups": [
{}
],
"ownerUserId": 0,
"lastModifiedUserId": 0,
"createdTime": 0,
"modifiedTime": 0,
"clientId": 0,
"ruleIds": [
"string"
],
"onAssignmentCancelRuleIds": [
"string"
],
"routingEvaluationMethod": "string",
"additional": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"businessHoursId": "string",
"shareConfigs": [
{
"type": "string",
"ids": [
"string"
]
}
],
"onTimeoutStatus": "string",
"description": "string",
"stickinessFeedbackRatingThreshold": 0.1,
"smartAssignmentEnabledPercentage": 0.1,
"smartAssignmentEnabled": true,
"order": 0.1,
"slaTargetTimeUnit": "string",
"slaTargetDuration": 0,
"slaTargetInTimeRangeTimeUnit": "string",
"slaTargetInTimeRangeDuration": 0,
"slaTargetPercentage": 0.1,
"applicationId": "string",
"externalQueueId": "string",
"voiceConfigEnabled": true,
"partnerCustomProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"workQueueId": "string",
"userIds": [
"string"
],
"userGroupIds": [
"string"
],
"priority": 0,
"workAssignmentSortKey": "string",
"primary": true
}'Success
Time for which a task should wait to be assigned to the sticky agent, if it comes post active conversation timeout but within stickiness timeout.
This would be used to sort the inflow and assign work based on the selected value. Example: Sort by Work creation time would assign the oldest work first.
Response
{ "id": "string", "workQueueName": "string", "workQueueType": "string", "useUnifiedRouting": true, "assignmentProvider": "string", "routingStrategy": "string", "userGroups": [ "string" ], "users": [ "string" ], "availableStatuses": [ "string" ], "stickinessStrategy": "string", "stickinessTimeout": 0, "capacity": 0, "maxRejectionCountPerUser": 0, "maxRejectionCount": 0, "answeringTimeout": "string", "activeConversationTimeout": 0, "stickinessCapacityCheck": true, "stickinessWaitTimeout": 0, "activeConversationTimeoutCapacity": 0, "waitForAgentConfirmation": true, "agentWaitTime": 0, "agentWaitTimeUnit": "string", "deleted": true, "sortKey": "string", "sortDirection": "string", "backupAssignmentStrategy": "string", "backups": [ {} ], "ownerUserId": 0, "lastModifiedUserId": 0, "createdTime": 0, "modifiedTime": 0, "clientId": 0, "ruleIds": [ "string" ], "onAssignmentCancelRuleIds": [ "string" ], "routingEvaluationMethod": "string", "additional": { "property1": [ … ], "property2": [ … ] }, "businessHoursId": "string", "shareConfigs": [ { … } ], "onTimeoutStatus": "string", "description": "string", "stickinessFeedbackRatingThreshold": 0.1, "smartAssignmentEnabledPercentage": 0.1, "smartAssignmentEnabled": true, "order": 0.1, "slaTargetTimeUnit": "string", "slaTargetDuration": 0, "slaTargetInTimeRangeTimeUnit": "string", "slaTargetInTimeRangeDuration": 0, "slaTargetPercentage": 0.1, "applicationId": "string", "externalQueueId": "string", "voiceConfigEnabled": true, "partnerCustomProperties": { "property1": [ … ], "property2": [ … ] }, "workQueueId": "string", "userIds": [ "string" ], "userGroupIds": [ "string" ], "priority": 0, "workAssignmentSortKey": "string", "primary": true }