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

SoftwareLicenses → Get All Software Licenses

AI-generated

Summary

Retrieve all software licenses from NinjaOne, optionally returning all pages or a single page of results, with support for filtering, pagination, custom headers, and request customization.

Inputs

  • returnAll — Boolean flag to control if all pages of software licenses are returned or only a single page.
  • additionalFields.after — Cursor or token specifying the point after which to retrieve results.
  • additionalFields.before — Cursor or token specifying the point before which to retrieve results.
  • additionalFields.pageSize — Number of items per page to retrieve.
  • options.customBody — Custom JSON body merged into the request body to override or add request parameters.
  • options.headerFilters — Custom HTTP headers to include in the API request.
  • options.queryFilters — Custom query-string filters to apply to the API request.
  • options.batching — Batching configuration controlling requests per batch and interval between batches.
  • options.debug — Enable to include detailed request info (URL, headers, body) in output for debugging.
  • options.pagination — Settings to control pagination mode (offset, cursor, or URL), page size, parameters, maximum pages, and intervals.
  • options.timeout — Timeout in milliseconds to wait for the server response before aborting the request.

Output shape

a list of software license records

When 'Return All' is enabled, paginates through all available results according to pagination settings or until limits specified. Each item in the list corresponds to a software license record from NinjaOne's /v2/software-license/licenses endpoint. Debug info will appear under a debug key if enabled.

Links

Discussion