NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Overview

The node allows users to create a new organization within the NinjaOne platform via its API. This is useful for IT administrators or service providers who want to programmatically manage organizational data, such as adding new client organizations or departments into their NinjaOne account. For example, when onboarding a new client company, this node can automate the creation of that organization's record with relevant details.

Properties

Name Meaning
Name The name of the organization to be created (required).
Description A textual description of the organization (optional).

Output

The node outputs JSON data representing the newly created organization as returned by the NinjaOne API. This typically includes the organization's unique identifier and any other metadata provided by the API response.

Dependencies

  • Requires an API authentication token configured in n8n credentials to access the NinjaOne API.
  • The base URL defaults to https://api.ninjaone.com but can be overridden by credential settings.

Troubleshooting

  • Missing required fields: If the "Name" property is not provided, the node will likely throw a validation error before making the API call.
  • Authentication errors: Ensure the API key or OAuth2 token is valid and has permissions to create organizations.
  • API endpoint issues: Network problems or incorrect base URL configuration may cause request failures.
  • Unexpected API responses: Check if the NinjaOne API has changed or if additional required fields have been introduced.

Links and References

Discussion