NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Calls (live/active calls) → Answer Call

AI-generated

Summary

Answer a live call by patching domains for associated users.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • PatchDomainsByUsersByCallsByAnswer__path__domain (required) —
  • PatchDomainsByUsersByCallsByAnswer__path__user (required) —
  • PatchDomainsByUsersByCallsByAnswer__path__call_id (required) —
  • PatchDomainsByUsersByCallsByAnswer__body —

Output shape

A JSON object indicating the result of the patch operation (typically empty on success, error details on failure)

No body is returned on success; failures follow the standard API error envelope.

Examples

Example 1: Patch a domain for a user on an active call

domain: example.com, user: 1001, call_id: 5678, body: {}, refreshOptions: false

Example 2: Refresh dropdown and patch domains without user interaction

refreshOptions: true, domain: (selected), user: (selected), call_id: 1234, body: {}

Links

Discussion