Already a NinjaOne customer? Log in to view more guides and the latest updates.

Filter NinjaOne Tickets with the Public API

Topic

This article shows you where to find the NinjaOne API endpoint that will allow you to filter NinjaOne tickets and lists the supported operator conditions. 

Environment

  • NinjaOne Ticketing
  • NinjaOne Public API

Description

Select a category to learn more: 

API Operator Conditions Supported by NinjaOne

  • present
  • not_present
  • equals
  • not_equals
  • greater_than
  • less_than
  • greater_or_equal_than
  • less_or_equal_than
  • contains
  • does_not_contains
  • contains_any
  • contains_none
  • changed
  • changed_to
  • between
  • is
  • in
  • not_in

Access the API Endpoint for Filtering Tickets

Access the NinjaOne Public API to find endpoints and parameters that return tickets matching the board condition and filters. Execute the provided endpoints in your preferred API development tool.

  1. Familiarize yourself with our API by reviewing NinjaOne Documentation: Public API. This document describes how to access and use the NinjaOne Public API.
  2. Find the Ticketing section within the API documentation and expand the List of tickets for board request.
Figure 1: NinjaOne API → Ticketing: List of tickets for board (click to enlarge)
  1. Click Try it out.
API_list of tickets for boards_try it out.png
Figure 2: Test the API request
  1. Enter the number of the ticket board that you would like to filter in the Description field. You can find this number at the end of the Web address when you have the ticket board open.
  2. Click Execute.
API_list of tickets for boards_execute.png
Figure 3: Execute API request for ticketing board data

The results display in the Responses section. You can use the Request URL to post the command in your API client.

Figure 4: Copy the API request URL (click to enlarge)

Additional Resources

Refer to the following resources to learn more about NinjaOne Ticketing and our Public API:

FAQ

Next Steps