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 attributes

AI-generated

Summary

Retrieve a list of ticket attributes from the NinjaOne Ticketing API, optionally returning all results or a single page with configurable pagination and filters.

Inputs

  • returnAll — Boolean to specify whether to return all results or just a single page.
  • options — Optional settings including custom request body JSON, custom HTTP headers, query-string filters to refine results, batching controls to limit request frequency, debug mode to include request details in output, pagination configuration to control page size, pagination mode, and parameters, and request timeout in milliseconds.

Output shape

a JSON array of ticket attribute objects, possibly paginated depending on inputs and API response

If 'returnAll' is true, the operation paginates using the configured pagination mode and parameters until all items or the max pages limit is reached. Debug information is included under a separate debug property when enabled.

Examples

Example 1: List all ticket attributes without filters

Set 'returnAll' to true and leave 'options' empty. The output will contain all ticket attributes retrieved from the API with default pagination handling.

Example 2: List ticket attributes with query filters and limited page size

Set 'returnAll' to false, add desired query filters under 'options.queryFilters', and specify page size and pagination parameters under 'options.pagination'. Output will include one page of filtered ticket attribute data.

Links

Discussion