NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Contacts → Get Contacts for User

AI-generated

Summary

Fetch contacts for a selected user within a specified domain.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetDomainsByUsersByContacts__path__domain (required) —
  • GetDomainsByUsersByContacts__path__user (required) —
  • GetDomainsByUsersByContacts__query__includeDomain — Whether to include onnet domain users, will also match the users to contact details. (values: "yes"/"no", default "no")

Output shape

a list of contact objects

The response body contains the retrieved contacts; no pagination or error envelope is specified.

Examples

Example 1: Select a domain and user, then retrieve their contacts.

Domain: example.com; User: 1001; Refresh Options: false; Include Domain: no

Example 2: Include onnet users and force a fresh cache fetch.

Domain: example.com; User: 1001; Refresh Options: true; Include Domain: yes

Links

Discussion