NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Call Center/Agents → Add Agent to Call Queue

AI-generated

Summary

Adds an agent to a specified call queue within a NetSapiens domain.

Inputs

  • refreshOptions —
  • domain (required) —
  • callqueue (required) —
  • body —

Output shape

a single agent record

The response contains the created agent details; on failure an error envelope is returned.

Examples

Example 1: Add an agent to the default call queue using the default domain

domain: example.com, callqueue: default, body: {"name":"Agent A"}

Example 2: Force refresh of dropdown options before selecting a domain

refreshOptions: true, domain: example.com, callqueue: support, body: {"firstName":"John","lastName":"Doe"}

Example 3: Add an agent with minimal required fields

domain: mycompany.com, callqueue: sales, body: {}

Links

Discussion