The company's contact-center queues
const url = 'https://api.vocapable.com/v1/workspace/contact-center/queues';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/workspace/contact-center/queues \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
object
object
A bullseye ring: from after_seconds into the wait, the FULL requirement - the
plain requirements (all must hold) AND every any_of group - plus overflow
queues whose members join the pool from this step on (CC1-R2/R3). At most 20 skill
terms in all; POST …/requirements/parse turns the text form into this shape.
object
skill >= min_proficiency; negate: the agent must NOT hold it at that level.
object
An OR group (CC1-R2): at least one alternative holds; each alternative is the AND
of its terms. (Spanish>=3 OR Portuguese>=3) is two one-term alternatives.
object
CC1-R5: a matching caller is lifted (+1..+5) and/or needs skills. More
conditions (≤ 4) combine with the rule’s own by match: all (AND) or any
(OR), e.g. account.industry = "Healthcare" OR open_case.urgency = "urgent".
object
skill >= min_proficiency; negate: the agent must NOT hold it at that level.
object
object
object
A bullseye ring: from after_seconds into the wait, the FULL requirement - the
plain requirements (all must hold) AND every any_of group - plus overflow
queues whose members join the pool from this step on (CC1-R2/R3). At most 20 skill
terms in all; POST …/requirements/parse turns the text form into this shape.
object
skill >= min_proficiency; negate: the agent must NOT hold it at that level.
object
An OR group (CC1-R2): at least one alternative holds; each alternative is the AND
of its terms. (Spanish>=3 OR Portuguese>=3) is two one-term alternatives.
object
object
object
Example
{ "data": [ { "priority": 5, "strategy": "longest_idle", "aging_seconds": 60, "steps": [ { "requirements": [ { "negate": false } ], "any_of": [ { "alternatives": [ [ { "negate": false } ] ] } ], "include_ai": false } ], "sticky_mode": "off", "sticky_timeout_seconds": 20, "vip_rules": [ { "field": "tag", "priority_boost": 0, "requirements": [ { "negate": false } ], "label": "VIP", "conditions": [ { "field": "tag" } ], "match": "all" } ], "entry_rule": { "field": "tag" }, "sla_percent": 80, "sla_seconds": 20, "short_abandon_seconds": 5, "max_wait_seconds": 600, "announce_ewt": true, "callback_ewt_seconds": 120, "humans_only": false, "auto_answer_allowed": true, "strict": false, "members": [ { "priority": 5 } ], "effective_steps": [ { "requirements": [ { "negate": false } ], "any_of": [ { "alternatives": [ [ { "negate": false } ] ] } ], "include_ai": false } ] } ], "skills": [ { "kind": "language" } ], "max_queues": 200}