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

Ticketing → List ticket log entries

AI-generated

Summary

Retrieve log entries for a specified ticket by its ID, optionally filtering by log entry type and other parameters, with support for pagination and batch processing.

Inputs

  • ticketId (required) — Specify the numeric ID of the ticket whose log entries you want to list.
  • returnAll — Choose whether to return all log entries or only a single page of results.
  • additionalFields — Optionally filter log entries by type, create time, anchor ID, and set the page size for pagination.
  • options — Configure advanced request options such as custom headers, query filters, batching, debug output, pagination parameters (mode, page size, cursor, max pages, etc.), and request timeout.

Output shape

a list (array) of ticket log entry records

Supports automatic pagination based on the configured pagination mode (offset, cursor, or next URL) when Return All is enabled. Debug output in the response includes full details of API requests if debug option is enabled.

Links

Discussion