NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Call Center/Agents → Count Agents in Call Queue

AI-generated

Summary

Count agents in a call queue

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetDomainsByCallqueuesByAgentsCount__path__domain (required) — Domain to query
  • GetDomainsByCallqueuesByAgentsCount__path__callqueue (required) — Callqueue identifier

Output shape

a single integer representing the number of agents

The count is returned as a number; may be null if no agents are found.

Examples

Example 1: Count agents using default domain

Select a domain via the domain picker, leave callqueue empty, optionally enable refreshOptions.

Example 2: Count agents for a specific callqueue

Provide the domain and the callqueue name; set refreshOptions if needed.

Links

Discussion