NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Connections (Trunks) → Count All Conections

AI-generated

Summary

Counts connections matching specified filters

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • reseller — Choose from the list, or enter an ID manually
  • CountAllConnections__query__device-sip-registration-uri —
  • CountAllConnections__query__termination-match —
  • CountAllConnections__query__domain —
  • CountAllConnections__query__route-chain —
  • CountAllConnections__query__user-scope —

Output shape

a single numeric count of matching connections

Returns the count of connections that satisfy the provided filters; if no filters are applied it returns the total connection count. The result is always a number and may be subject to pagination limits.

Examples

Example 1: Count connections for a specific reseller

Set 'reseller' to 'WLP', leave all other filters blank

Example 2: Count all connections across the system

Leave all query parameters empty to retrieve the total connection count

Links

Discussion