NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Calls (live/active calls) → Make a New Call

AI-generated

Summary

Create a new call on the live/active calls resource

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • PostDomainsByUsersByCalls__path__domain (required) — Domain to use for the call
  • PostDomainsByUsersByCalls__path__user (required) — User ID to use for the call
  • PostDomainsByUsersByCalls__body — JSON body for the call request

Output shape

no body — success/failure only

Returns HTTP 200 on success; errors are indicated by HTTP status codes and an error envelope

Examples

Example 1: Create a new call using a specific domain and user

Set Domain to "example.com", User to "1001", Body to {"to": "12345"}, refreshOptions false

Example 2: Refresh dropdown caches before selecting domain and user

Set refreshOptions true, then choose Domain and User from the updated lists

Example 3: Create a call with a custom JSON payload

Provide a JSON Body such as {"to":"5551234", "from":"1001"} while leaving Domain and User empty (they are required, so this would be invalid)

Links

Discussion