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 → Get list of ticket status

AI-generated

Summary

Retrieve a list of ticket statuses from the NinjaOne Ticketing API, with optional pagination, filtering, batching, and custom request configurations.

Inputs

  • Return All — Choose whether to return all ticket statuses or only a single page of results.
  • Options — Optional settings including custom JSON body, custom HTTP headers, query filters, batching parameters (items per batch and interval), debug toggle for request details, pagination strategy and parameters, and request timeout in milliseconds.

Output shape

a list of ticket status objects, potentially paginated or batched depending on configuration

The output includes ticket status data returned from the GET /v2/ticketing/statuses endpoint. If debug is enabled, the request details are included in a debug subfield. Pagination supports offset, cursor, or next URL modes and can be customized via operation parameters. Batching groups input items for repeated requests if configured.

Examples

Example 1: Return all ticket statuses without pagination

Set 'Return All' to true, no additional options.

Example 2: Return a single page of ticket statuses with a custom header

Set 'Return All' to false and add a custom header under Options -> Custom Headers.

Links

Discussion