NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Call Center/Agents → Read Specific Agent in Call Queue

AI-generated

Summary

Reads a specific agent within a call queue.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • ReadAgent__path__domain (required) —
  • ReadAgent__path__callqueue (required) —
  • ReadAgent__path__callqueue-agent-id (required) —

Output shape

a single agent object

Returns the agent details; if the agent does not exist, the operation returns a 404 error.

Examples

Example 1: Retrieve agent ID 42 in the 'support' call queue for domain example.com

Domain: example.com, Callqueue: support, Callqueue Agent ID: 42, Refresh Options: false

Example 2: Refresh the dropdown cache to get the latest agent list

Domain: mycompany.com, Callqueue: support, Callqueue Agent ID: (leave blank), Refresh Options: true

Example 3: Read the default agent in a queue without specifying an ID

Domain: test.com, Callqueue: default, Callqueue Agent ID: (omit), Refresh Options: false

Links

Discussion