NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Contacts → Create Contact

AI-generated

Summary

Create a NetSapiens contact, optionally refreshing dropdown caches and linking domains and users.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • domain (required) — Domain to associate with the contact
  • user (required) — User ID to associate with the contact
  • body — JSON body containing contact data

Output shape

a single contact record

Returns the created contact; may include all fields or a subset depending on server response.

Examples

Example 1: Add a new contact with domain example.com and user 1001

Set Domain to "example.com", User to "1001", and provide JSON body; leave Refresh Dropdown Cache unchecked.

Example 2: Create contact using fresh dropdown values

Enable Refresh Dropdown Cache to force fresh selection of domain and user before creating the contact.

Example 3: Create contact with minimal required fields

Provide only the required Domain and User values; Body can be an empty object.

Links

Discussion