List all queues in an organization.
Dixa API (beta)
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues
- https://dev.dixa.io/beta/queues
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues \
-H 'Authorization: YOUR_API_KEY_HERE'{ "data": [ { … }, { … } ] }
The details for creating a queue
values: [SlaTimeLimit, AvailableAgents, LongestWait, SlaPercentage, WaitingConversations]
values: [AgentPriorityOneAtATimeRandom, AllAtOnce, AgentPriorityLongestIdle, AgentPriorityAllAtOnce, LongestIdle, OneAtATimeRandom]
values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]
values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues
- https://dev.dixa.io/beta/queues
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"request": {
"name": "MyCorp main queue",
"callFunctionality": false,
"isDefault": true,
"queueThresholds": {
"WaitingConversations": 10
},
"offerTimeout": 10,
"offerAlgorithm": "AllAtOnce",
"wrapupTimeout": 10,
"priority": 1,
"offerAbandonedConversations": false,
"doNotOfferTimeouts": {
"WidgetChat": 1
},
"isDoNotOfferEnabled": true,
"preferredAgentTimeouts": {
"WhatsApp": 300,
"Voicemail": 300,
"WidgetChat": 300,
"FacebookMessenger": 300,
"Email": 43200,
"ContactForm": 43200,
"Callback": 300,
"PstnPhone": 300
},
"isPreferredAgentEnabled": false,
"preferredAgentOfflineTimeout": 500,
"personalAgentOfflineTimeout": 500,
"isRestricted": false
}
}'The created queue
values: [SlaTimeLimit, AvailableAgents, LongestWait, SlaPercentage, WaitingConversations]
values: [AgentPriorityOneAtATimeRandom, AllAtOnce, AgentPriorityLongestIdle, AgentPriorityAllAtOnce, LongestIdle, OneAtATimeRandom]
values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]
values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]
{ "data": { "id": "string", "name": "string", "isDefault": true, "organizationId": "string", "queueThresholds": { … }, "slaCalculationMethod": "string", "offerTimeout": 0, "offeringAlgorithm": "string", "memberListType": "string", "usages": { … }, "wrapupTimeout": 0, "priority": 0, "offerAbandonedConversations": true, "doNotOfferTimeouts": { … }, "isDoNotOfferEnabled": true, "isPreferredAgentEnabled": true, "preferredAgentTimeouts": { … }, "preferredAgentOfflineTimeout": 0, "personalAgentOfflineTimeout": 0, "isRestricted": true } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/members
- https://dev.dixa.io/beta/queues/{queueId}/members
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/members' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "data": [ { … }, { … } ] }
The list of agents/admins to be removed from the queue. Up to 10 members can be specified.
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/members
- https://dev.dixa.io/beta/queues/{queueId}/members
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/members' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"agentIds": [
"743c3781-c882-4352-a1fa-fe5d7a673cfd",
"cad2f234-8cec-4cd8-96e9-a6491a0176da"
]
}'- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/members
- https://dev.dixa.io/beta/queues/{queueId}/members
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/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"
]
}'{ "data": [ { … }, { … }, { … } ] }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/availability
- https://dev.dixa.io/beta/queues/{queueId}/availability
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}/availability' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "data": [ { … }, { … } ] }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}
- https://dev.dixa.io/beta/queues/{queueId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/{queueId}' \
-H 'Authorization: YOUR_API_KEY_HERE'The queue
values: [SlaTimeLimit, AvailableAgents, LongestWait, SlaPercentage, WaitingConversations]
values: [AgentPriorityOneAtATimeRandom, AllAtOnce, AgentPriorityLongestIdle, AgentPriorityAllAtOnce, LongestIdle, OneAtATimeRandom]
values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]
values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]
{ "data": { "id": "0bf82493-ae46-4c49-aa29-0422136269be", "name": "MyCorp main queue", "isDefault": true, "organizationId": "3de6c0f1-5e84-4d29-9ce9-84033983d4e6", "queueThresholds": { … }, "slaCalculationMethod": "AbandonedIgnored", "offerTimeout": 10, "offeringAlgorithm": "OneAtATimeRandom", "memberListType": "SkillBased", "usages": { … }, "wrapupTimeout": 10, "priority": 1, "offerAbandonedConversations": false, "doNotOfferTimeouts": { … }, "isDoNotOfferEnabled": true, "isPreferredAgentEnabled": false, "preferredAgentTimeouts": { … }, "preferredAgentOfflineTimeout": 500, "personalAgentOfflineTimeout": 500, "isRestricted": true } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/conversation-position/{csid}
- https://dev.dixa.io/beta/queues/conversation-position/{csid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/queues/conversation-position/{csid}' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "data": { "position": 10, "queuedAt": "2021-12-01T13:00:00.003Z" } }