NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Device → Get Custom Fields

AI-generated

Summary

Retrieve the custom field values associated with a specific device in NinjaOne by providing the device's ID.

Inputs

  • Authentication — Choose the authentication method: OAuth2 (Authorization Code) or Client Credentials. Defaults to OAuth2.
  • Device ID (required) — The unique numeric identifier of the device for which to fetch custom fields.

Output shape

a single record representing the device's custom fields as returned by the NinjaOne API

Returns JSON data containing the custom field values for the specified device ID. The output is a single object and not paginated.

Examples

Example 1: Fetching custom fields for a device

Set the resource to 'Device', operation to 'Get Custom Fields', and specify the device ID as required.

Links

Discussion