queue_<callqueue> dial rule, and, when you send them, a phone number and forwards. Requires Office Manager, Call Center Supervisor, Route Manager, Reseller, or Super User scope. A Site Manager creates queues at its own site. Add agents with POST /domains/{domain}/callqueues/{callqueue}/agents.Authorization: Bearer ********************synchronous=yes, which waits up to 2 seconds: the created queue, once its rows are written. recording-configuration is left out; read the queue to confirm it.curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//callqueues' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"callqueue": "4000",
"description": "Sales Queue",
"callqueue-dispatch-type": "Round-robin",
"callqueue-agent-dispatch-timeout-seconds": 20,
"callqueue-max-wait-timeout-minutes": 10,
"callqueue-calculate-statistics": "yes",
"department": "Sales",
"site": "Main Office",
"voicemail-enabled": "yes",
"phone-number": "15555550100",
"forward-no-answer": "vmail_4000",
"synchronous": "yes"
}'{
"callqueue": "4000",
"domain": "example.com",
"description": "Sales Queue",
"callqueue-dispatch-type": "Round-robin",
"callqueue-agent-dispatch-timeout-seconds": 20,
"callqueue-calculate-statistics": "yes",
"callqueue-sim-ring-1st-round": 0,
"callqueue-sim-ring-increment": 1,
"callqueue-agent-auto-logout-after-missed": "no",
"callqueue-max-wait-timeout-minutes": 10,
"callqueue-max-current-wait-to-accept-new-callers-seconds": 0,
"callqueue-max-current-callers-to-accept-new-callers": 0,
"callqueue-require-available-agents-to-accept-new-callers": "no",
"callqueue-max-callback-queueing-hours": 0,
"callqueue-debug": "no",
"callqueue-local-only": "no",
"callqueue-force-full-intro-playback": "no",
"callqueue-source-match": null,
"callqueue-sms-enable": "no",
"active-queued-calls-total-current": 0,
"callqueue-count-agents-total": 0,
"callqueue-count-agents-available": 0,
"department": "Sales",
"site": "Main Office",
"voicemail-enabled": "yes",
"callqueue-ring-timeout-seconds": "60",
"phone-number": "15555550100",
"forward-on-busy": "",
"forward-when-unregistered": "",
"forward-no-answer": "vmail_4000",
"callqueue-hold-audio-type": "moh"
}