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

OrganizationDocuments → Create organization document

AI-generated

Summary

Create a new organization document by specifying the organization ID and document template ID, optionally providing additional document details and customization options.

Inputs

  • organizationId (required) — Numeric identifier of the organization where the document will be created.
  • documentTemplateId (required) — Numeric identifier of the document template to use for creating the document.
  • additionalFields — Optional parameters like document name, description, and custom fields as JSON to define document specifics.
  • options — Optional settings including custom JSON body to override fields, custom HTTP headers, query filters, batching controls, debug flag, pagination settings, and request timeout.

Output shape

a single JSON object representing the created organization document.

The output represents the API response containing details of the created document. When debug is enabled, request details are included. Batch processing affects the execution but each item returns an individual response.

Examples

Example 1: Create a document for a specific organization and template with a custom name.

Set organizationId to 123, documentTemplateId to 456, and additionalFields.documentName to 'Quarterly Report'.

Links

Discussion