NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Query → Custom Fields

AI-generated

Summary

Retrieve custom fields data by querying the NinjaOne API using optional filters such as a device filter expression, cursor for pagination, page size, and a timestamp.

Inputs

  • Authentication — Choose between OAuth2 (Authorization Code) or Client Credentials authentication methods.
  • Filters — Optional set of filters to refine the query: Device Filter (df) expression to filter by device characteristics, Cursor for pagination, Page Size to limit results per page (default 200), and Timestamp (ts).

Output shape

a list of custom fields data items returned from the NinjaOne API associated with the 'customFields' query endpoint.

Supports optional filtering parameters to control the query results. Pagination is controlled via pageSize and cursor parameters, with the cursor used for continued paging. The authentication method affects credentials used but does not change output shape.

Examples

Example 1: Fetch custom fields with no filters

Authentication: OAuth2; Filters: none; returns the first 200 custom fields records.

Example 2: Fetch custom fields filtered by device criteria and paginated

Authentication: Client Credentials; Filters: device filter expression set to target specific devices, cursor to continue from previous page, pageSize to limit per response, and optional timestamp to refine query.

Links

Discussion