NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Addresses → Get Addresses Count for Domain

AI-generated

Summary

Retrieve the count of addresses for a selected domain

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetAddressesCountForDomain__path__domain (required) — Domain identifier for which to obtain the address count

Output shape

an object containing a numeric count property indicating the total addresses for the selected domain

The response returns a count number; if no addresses exist the count may be zero or omitted depending on implementation

Examples

Example 1: Fetch address count for a specific domain

Domain = example.com, Refresh Dropdown Cache = false

Example 2: Refresh count using fresh dropdown data

Domain = example.com, Refresh Dropdown Cache = true

Example 3: Query with default domain selection

Domain = (empty) – uses prior cached default selection

Links

Discussion