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 → Create a new custom field

AI-generated

Summary

Create a new custom field in NinjaOne by specifying its label and unique API field name, with optional attributes such as description, type, permissions, default value, scope, and grouping.

Inputs

  • label (required) — Display label for the custom field
  • fieldName (required) — Unique field name for API access used when accessing the value programmatically
  • additionalFields — Optional attributes including description, type of field (e.g., DROPDOWN, TEXT, NUMERIC), permissions for technician, script, and API access, default value (applicable for DROPDOWN and MULTI_SELECT), content configuration, scope or definition scope, group ID for organizing, and whether to add to the default tab
  • options — Additional options such as custom JSON body to send in the request, custom HTTP headers, query filters, batching settings, debug flag, pagination configuration, and request timeout

Output shape

a single newly created custom field object

Returns the created custom field as a JSON object representing the new attribute. The output includes the configured properties of the custom field. Debug information is optionally included if enabled.

Links

Discussion