Skip to content

Assign agents

Request

Assign one or more agents/admins to a given queue.

Security
ApiKeyAuth
Path
queueIdstring, (uuid)required
Bodyapplication/jsonrequired

The list of agents/admins to be added to the queue

agentIdsArray of strings, (uuid), unique
PATCH
/v1/queues/{queueId}/members
curl -i -X PATCH \
  'https://dev.dixa.io/v1/queues/{queueId}/members' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "agentIds": [
      "c31e5e3f-1d5f-4442-83df-fd7bddd59da4",
      "26ae145b-8644-4fa5-aa56-7b3dcacbe2d4"
    ]
  }'

Responses

The list of patch action outcomes

Bodyapplication/json
dataArray of any(BulkActionOutcome_BulkError_UUID)
Response
{ "data": [ {}, {}, {} ] }