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

CustomFields → Bulk create custom fields

AI-generated

Summary

Create multiple custom fields in bulk by sending a list of custom field definitions to the NinjaOne API.

Inputs

  • customFields — A JSON array defining the custom fields to create in bulk. Provide each custom field's details in the array.
  • customBody — Optional JSON object to send arbitrary additional data in the request body; overrides other body fields if keys overlap.
  • headerFilters — Optional custom HTTP headers to include in the API request, specified as key-value pairs.
  • queryFilters — Optional query string parameters to filter or modify the request, specified as key-value pairs.
  • batching — Optional batching settings to process input items in groups, including batch size and delay between batches.
  • debug — Optional boolean to include the full request details (URL, headers, body) in the output for troubleshooting.
  • pagination — Optional settings to configure pagination behavior for list operations; typically not used in bulk creation.
  • timeout — Optional timeout in milliseconds to wait for the server response before aborting the request.

Output shape

a list of API response items corresponding to the created custom fields or error information

Each input item can contain multiple custom fields to create; the API response includes the details of created fields or errors. Debug information is included when enabled. The operation supports batching to manage large input sets. Pagination settings are available but typically irrelevant for this bulk create action.

Links

Discussion