Update
/api/v1/queues/{id}Updates a queue. Send only the fields you want to change โ omitted fields keep their current values, and the member list is left untouched.
Supplying agentIds or managerIds replaces that list. To add or remove one person, prefer Add Member / Remove Member, which are safer under concurrent updates.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
idstringrequiredQueue ID.
Example:
namestringoptionalQueue name. Must be unique in your workspace.
agentIdsarray[string]optionalUsers who receive conversations from this queue. At least one.
managerIdsarray[string]optionalUsers who supervise this queue. At least one.
descriptionstring | nulloptionalemojistringoptionalIcon shown beside the queue name. Defaults to ๐ฅ.
distributionStrategystring | nulloptionalHow conversations are handed out:
round-robinin turn,fewest-assignmentsto the least busy agent,random, ornotify-allto alert everyone.Allowed values:"round-robin", "fewest-assignments", "random", "notify-all", null
maximumAssignPerAgentinteger | nulloptionalConcurrent conversations per agent. Defaults to 1 when omitted โ set it explicitly for anything busier.
useGlobalAgentCapacitybooleanoptionalUse each agent's own capacity instead of the queue limit.
offlineAssignmentbooleanoptionalAssign conversations to agents who are offline.
autoAssignboolean | nulloptionalHand out conversations automatically. When false, a supervisor assigns them manually.
Responses
200OK
OK
requestIdstringrequiredUnique ID for this request. Quote it when reporting a problem.
dataobjectrequiredChild attributes
idstringrequirednamestringrequireddescriptionstring | nullrequiredemojistringrequireddistributionStrategystring | nullrequiredAllowed values:"round-robin", "fewest-assignments", "random", "notify-all", null
maximumAssignPerAgentinteger | nullrequireduseGlobalAgentCapacitybooleanrequiredofflineAssignmentbooleanrequiredautoAssignboolean | nullrequiredmembersarray[object]requiredChild attributes
userIdstringrequirednamestringrequiredemailstringrequiredmembershipRolestringrequiredagentreceives conversations from the queue;managersupervises it.Allowed values:"agent", "manager"
createdAtstringrequiredupdatedAtstringrequired
401Unauthorized
Unauthorized
messagestringrequired
404Not Found
Not Found
messagestringrequired
409Conflict
Conflict
messagestringrequired
429Too Many Requests
Too Many Requests
messagestringrequired