NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Organization Document → Get Many

AI-generated

Summary

Retrieve multiple organization documents for a specified organization, optionally returning all or limiting the number of documents returned.

Inputs

  • Authentication — Choose between OAuth2 or Client Credentials authentication methods.
  • Organization ID (required) — Numeric ID of the organization whose documents are to be retrieved.
  • Return All — Boolean flag to indicate whether to return all documents or limit the result set.
  • Limit — Maximum number of documents to return if 'Return All' is false. Must be at least 1.

Output shape

a list of organization document objects

If 'Return All' is true, all documents for the specified organization are returned by paginating through the API. Otherwise, up to 'Limit' documents are returned. Documents are returned as an array of JSON items.

Examples

Example 1: Retrieve all documents for organization with ID 123

Set 'Organization ID' to 123, 'Return All' to true.

Example 2: Retrieve up to 10 documents for organization with ID 456

Set 'Organization ID' to 456, 'Return All' to false, and 'Limit' to 10.

Links

Discussion