This is an n8n community node. It lets you interact with the NetSapiens API in your n8n workflows.
NetSapiens is a Voice over IP (VoIP) phone switch software provider that provides a REST API (the ns-api) that can be used to manage and query resources in a NetSapiens environment.
n8n is a fair-code licensed workflow automation platform.
Not yet verified for use with n8n Cloud.
Follow the installation guide in the n8n community nodes documentation.
# From your n8n installation directory
npm install n8n-nodes-netsapiens
# Restart n8nYou can install this node as a community node on your self-hosted n8n instance from the UI (if community nodes are enabled) since it's published to npm as n8n-nodes-netsapiens, with the following steps:
- In your n8n instance, go to Settings → Community Nodes
- Click Install and enter:
n8n-nodes-netsapiens - Click Install to add the node to your instance
This node is primarily driven by a bundled OpenAPI specification. In most cases you:
- Select a resource (an API grouping)
- Select an operation (an API endpoint action)
The node then renders fields for the endpoint parameters.
In addition, the node includes a Raw -> Request operation that lets you call arbitrary endpoints directly when you need full control.
NetSapiens provides the API JSON Schema as part of their documentation, which this node uses to generate the basic node interface. The node also implements a number of overrides to handle NetSapiens-specific details and add additional functionality and affordances.
Read operations are substantially better tested and usable than write calls, which may require build custom JSON objects for crate and update requests initially.
Create a new NetSapiens API credential. This node is designed for API Keys (bearer tokens) only, not refresh/access tokens or other authentication methods. Oauth Access Tokens and JWT Tokens are not supported, nor does NetSapiens provide documentation for these in version 2 of the API.
Only NetSapiens API version 2 supports API keys, and this node only connects to API version 2 endpoints (though the API key would be valid for API version 1 as well, for versions of NetSapiens that support API version 2 credentials).
- Server: Your NetSapiens API hostname (without protocol)
- Bearer Token: An API key (bearer token) used for API requests
- Base URL (optional): Override the full base URL. If empty, the node defaults to
https://{server}/ns-api/v2.
Obtain an API key from your NetSapiens provider if you are a Reseller user, or obtain the API key directly from your NetSapiens instance if you have administrator access.
NetSapiens, as of this writing, runs a Developer Sandbox where you can test API usage if you would like.
NetSapiens provides an API v1 Migration to v2 reference to review so you can determine differences between the API versions if you're familiar with version 1.
- Minimum n8n version: Developed and tested with version
2.0.3+but will likely work with several prior versions. - Tested with: Local development via
n8n-node dev - Tested with: NetSapiens Version 44.3.2
Note: The OpenAPI spec used to implement this node is not from a well-defined version, though it's older than 45.0 and likely is for a version of 44.x when API v2 was introduced. The 45.0 spec provided by NetSapiens has a substantial numer of changes and additions and this node may not be fully compatible with it until it's updated in the future (however, you can use the Raw API Request option to make calls to endpoints that are not yet implemented).
- Resource: Select an API resource grouping.
- Operation: Select the specific endpoint action.
- Parameters:
- Path and query parameters appear as node fields.
- If the endpoint has a request body, a Body JSON field is shown.
If you need an endpoint that is not represented (or you want full control), use the Raw API request:
- Resource:
Raw - Operation:
Raw API Request
Then set:
- Method
- Endpoint (for example:
/domains) - Query Parameters
- Body (for non-GET/non-DELETE requests)
From n8n-nodes-netsapiens/:
npm installinstalls dependencies.npm run generateregeneratesgenerated/openapi.tsfromopenapi/NetSapiens.v2.3.1.0.openapi.json.npm run buildruns code generation and builds the node.npm run devruns the node in development mode directly, launching n8n, or:- Use
npm linkto link the node to n8n (and thennpm link n8n-nodes-netsapiensin your n8n instanceconfigdirectory and restart n8n).
- n8n community nodes documentation
- NetSapiens API documentation
- There's a public NetSapiens MCP server starting with version 45.0 for testing at
https://docs.ns-api.com/mcp?branch=45.0. No authentication is required.
For a version history of changes and updates, see the CHANGELOG.md file.
See TODO.md.
NetSapiens is A Crexendo Company and they own the trademarks and intellectual property rights to the NetSapiens brand. This node is not affiliated with NetSapiens or Crexendo in any way and is provided as a service to the n8n community.
MIT