NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Management → Create new organization

AI-generated

Summary

Create a new organization in NinjaOne by sending specified details such as name, description, template organization ID, user data, device approval mode, locations, and policies.

Inputs

  • additionalFields — Optional parameters including the organization name, description, template organization ID, custom user data (as JSON), device approval mode (automatic, manual, or reject), list of locations (JSON array), and policies (JSON array).
  • options — Additional options for the request such as custom JSON body (merged with other fields), custom HTTP headers, query-string filters, batching settings, debug flag to include request details in output, pagination settings, and request timeout duration.

Output shape

a single JSON object representing the created organization's details as returned from the NinjaOne API

The response includes the newly created organization's data. When debug is enabled, output also contains the raw request URL, headers, query parameters, and body sent. Custom body values in options take priority over specified fields in additionalFields.

Examples

Example 1: Create a new organization with a name and manual device approval mode

Set 'Name' to the desired organization full name and 'Node Approval Mode' to 'MANUAL' in additionalFields.

Example 2: Create a new organization from a template with custom user data and policies

Provide 'Template Organization Id', 'User Data' JSON, and 'Policies' JSON arrays in additionalFields, optionally overriding any with 'Custom Body' JSON in options for fine control.

Links

Discussion