Skip to content

NinjaOne

Enrich, hunt and patch endpoints from NinjaOne

Resolve devices from an IP, hostname or user, find where an advisory's product is unpatched, and apply OS or software patches with approval.

@ftnt-dspilleMaintainer v1.0.0 Published Oct 20, 2026
Download .tgz · 37 KB

ninjaone_1.0.0.tgz

sha256:84d1c6a42c3564ca397bcdd9a6ae6e9effb23350f9550dabc8a3d2c33ad435b0
Source repository

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

NinjaOne is a unified endpoint management (RMM) platform: it inventories every managed endpoint, keeps software and patch state current, and runs monitoring that raises alerts. This connector brings that estate data into SOAR so endpoint questions become playbook questions.

What it covers

56 operations across the NinjaOne Public API v2, grouped as:

  • Investigate (40) — resolve devices by hostname, IP, owner or organization; read device detail, approvals, custom fields, network interfaces, disks, processors, last logged-on user, installed software and OS/software patch state; list alerts, activities, jobs and automation scripts; open the device's console deep link.
  • Remediate (16) — approve and apply OS and software patches, reboot with maintenance windows and monitoring suppression, run and track automation/script jobs, manage device approvals and maintenance mode.

Sample playbooks (5)

The connector ships a playbook collection, Sample - NinjaOne - 1.0.0:

Playbook Steps What it does
Enrich Asset 8 Resolve a hostname, IP or logged-on user to a device; pull identity, owner and console deep link
Find Exposed Endpoints 7 Given a product name from an advisory, find where it exists and where it is unpatched
Patch Endpoint with Approval 13 Show pending patches, ask for approval, then scan and apply
Reboot Endpoint with Approval 10 Approve, suppress monitoring during the reboot, reboot, confirm the endpoint returns
Restart Windows Service 6 Restart a named Windows service and verify it is running again

Good to know

  • Auth: OAuth client credentials (access key ID + secret). Every operation in the collection and every documented example was executed against a live tenant with an enrolled Windows endpoint; the full pass/fail matrix with the reason for each failure is in the repository's COVERAGE.md.
  • run_script needs a user-context token: machine-to-machine (client-credentials) tokens receive 403 "Access key does not have user context" for script execution. The sample collection deliberately builds nothing on it.
  • "Patch Endpoint with Approval" requires patching enabled in the device's NinjaOne policy. That is a one-time tenant setting, not a connector limit — the playbook is the reason to go turn it on.
  • Approvals are real gates: the remediation playbooks stop at a manual input step and wait for a human before anything changes on the endpoint.

Configuration · 6 fields

  • Region region select required

    NinjaOne instance your tenant lives in. NinjaOne is region-isolated: an API client created in one region does not exist in any other, and the token endpoint reports that as "Client app not exist" rather than an authentication error. Match this to the hostname you log in to.

    Default North America (app.ninjarmm.com)

    Options Canada (ca.ninjarmm.com)Europe (eu.ninjarmm.com)North America (app.ninjarmm.com)North America 2 (us2.ninjarmm.com)Oceania (oc.ninjarmm.com)
  • Client ID client_id text required

    Client ID of the API application, from Administration > Apps > API > Client App IDs. The application platform must be "API Services (machine-to-machine)".

  • Client Secret client_secret password required

    Client secret issued with the Client ID. Shown once at creation.

  • Scope scope text

    Space-separated OAuth scopes to request. "monitoring" covers reads, "management" covers writes, and "control" is required for script execution and reboots. The app must already be granted each scope requested here.

    Default monitoring management control

  • Custom Server URL server_url text

    Overrides the Region above. Only needed for a non-standard endpoint; leave blank otherwise.

  • Verify SSL verify_ssl checkbox

    Verify the TLS certificate of the NinjaOne endpoint.

    Default true

Operations · 56

  • Get Devices 2 params
    get_devices

    Retrieves devices from NinjaOne, optionally narrowed by a device filter. Pages automatically up to the record limit.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countdevices
  • Get Devices (Detailed) 2 params
    get_devices_detailed

    Retrieves devices with their full nested detail (system, OS, network, and policy information) in one call, avoiding a Get Device per row.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countdevices
  • Search Devices 2 params
    search_devices

    Finds devices by free-text query across name, logged-on user, and IP address. This is how you turn a hostname from an alert into the numeric device ID every other device operation needs.

    • Search Query query text required

      Free text to match against device name, logged-on user, or IP address.

    • Limit limit integer

      Maximum number of matches to return.

      Default 50

    Returns devices
  • Get Device Details 1 param
    get_device

    Retrieves the full record for a single device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns idparentDeviceIdorganizationIdlocationIdnodeClassnodeRoleIdpolicyIdapprovalStatusofflinedisplayNamesystemNamednsNamelastContactlastUpdatecreatedsystemosipAddressesmacAddresses
  • Update Device 8 params
    update_device

    Changes a device's display name, assigned policy, role, organization, location, or custom attributes.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Display Name display_name text

      New user-assigned display name.

    • Policy ID policy_id integer

      Policy to assign. Overrides the organization policy mapping; clear it to revert to the organization default.

    • Node Role ID node_role_id integer

      Device role to assign.

    • Organization ID organization_id integer

      Move the device to this organization.

    • Location ID location_id integer

      Move the device to this location.

    • Custom Attributes user_data json

      Custom attributes to set, as a JSON object.

    • Additional Fields additional_fields json

      Any other body fields, as a JSON object. Merged into the request, so this reaches fields the form above does not expose.

    Returns status
  • Get Device Custom Fields 2 params
    get_device_custom_fields

    Retrieves the custom field values set on a device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • With Inheritance with_inheritance checkbox

      Resolve values through the definition scope hierarchy rather than returning only values set directly on the device.

      Default false

  • Update Device Custom Fields 2 params
    update_device_custom_fields

    Sets custom field values on a device. Useful for writing a FortiSOAR record ID or remediation state back onto the endpoint.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Field Values fields json required

      JSON object of field name to value, e.g. {"soarTicket": "IR-1043"}.

    Returns status
  • Get Device Dashboard URL 1 param
    get_device_dashboard_url

    Returns a deep link to the device in the NinjaOne console, for attaching to an alert or a case note.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns url
  • Get Device Software Inventory 1 param
    get_device_software

    Lists the software installed on a device. This is the "does this vulnerable product exist here?" lookup.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

  • Get Device Disks 1 param
    get_device_disks

    Lists the physical disk drives on a device, with SMART health where available.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

  • Get Device Volumes 2 params
    get_device_volumes

    Lists storage volumes on a device, optionally including BitLocker encryption status.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Include BitLocker Status include_bitlocker checkbox

      Include BitLocker encryption status for each volume.

      Default false

  • Get Device Processors 1 param
    get_device_processors

    Lists the processors installed in a device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

  • Get Device Network Interfaces 1 param
    get_device_network_interfaces

    Lists the network interfaces on a device, with addresses and link state.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

  • Get Last Logged-On User 1 param
    get_device_last_logged_on_user

    Returns the most recent interactive user on a device -- the person to contact about an alert or a reboot.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

  • Get Windows Services 3 params
    get_device_windows_services

    Lists Windows services on a device, optionally filtered by name or state.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Service Name name text

      Filter to services matching this name.

    • State state select

      Filter to services in this state.

      Options UNKNOWNSTOPPEDSTART_PENDINGRUNNINGSTOP_PENDINGPAUSE_PENDINGPAUSEDCONTINUE_PENDING
  • Get Software Inventory Report 5 params
    get_software_inventory_report

    Estate-wide software inventory across every device matching the filter, rather than one device at a time. Pages automatically.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Product Name Contains name_contains text

      Case-insensitive substring match on the product name, applied after the results are fetched. Use it to turn an advisory's product name into "which of our endpoints run this?".

    • Installed After installed_after datetime

      Only include patches installed after this time.

    • Installed Before installed_before datetime

      Only include patches installed before this time.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countcursorresults
  • Get Device Health Report 3 params
    get_device_health_report

    Estate-wide device health report, for triaging which endpoints are unhealthy before acting on them.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Health Status health text

      Filter to a health status, e.g. "HEALTHY" or "UNHEALTHY".

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countcursorresults
  • Get Device Pending OS Patches 4 params
    get_device_pending_os_patches

    Lists pending, failed, and rejected operating system patches for one device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Status status multiselect

      Filter to these patch statuses.

      Options MANUALAPPROVEDFAILEDREJECTED
    • Severity severity multiselect

      Filter to these severities.

      Options UNKNOWNLOWMODERATEIMPORTANTCRITICALOPTIONAL
    • Type type multiselect

      Filter to these patch types.

      Options UNKNOWNPATCHINSTALLER
  • Get Device Installed OS Patches 4 params
    get_device_installed_os_patches

    OS patch installation history for one device -- what landed, what failed, and when. Use it to prove a remediation actually took.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Status status multiselect

      Filter to these statuses.

      Options INSTALLEDFAILED
    • Installed After installed_after datetime

      Only include patches installed after this time.

    • Installed Before installed_before datetime

      Only include patches installed before this time.

  • Get Device Pending Software Patches 5 params
    get_device_pending_software_patches

    Lists pending, failed, and rejected third-party software patches for one device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Status status multiselect

      Filter to these patch statuses.

      Options MANUALAPPROVEDFAILEDREJECTED
    • Impact impact multiselect

      Filter to these impact levels.

      Options UNKNOWNOPTIONALRECOMMENDEDCRITICAL
    • Type type multiselect

      Filter to these patch types.

      Options UNKNOWNPATCHINSTALLER
    • Product Identifier product_identifier text

      Restrict to a single product, as listed by Get Software Products.

  • Get Device Installed Software Patches 7 params
    get_device_installed_software_patches

    Third-party software patch history for one device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Status status multiselect

      Filter to these statuses.

      Options INSTALLEDFAILED
    • Impact impact multiselect

      Filter to these impact levels.

      Options UNKNOWNOPTIONALRECOMMENDEDCRITICAL
    • Type type multiselect

      Filter to these patch types.

      Options UNKNOWNPATCHINSTALLER
    • Product Identifier product_identifier text

      Restrict to a single product.

    • Installed After installed_after datetime

      Only include patches installed after this time.

    • Installed Before installed_before datetime

      Only include patches installed before this time.

  • Get Pending OS Patches Report 6 params
    get_pending_os_patches_report

    Estate-wide pending, failed, and rejected OS patches across every device matching the filter. Pages automatically.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Status status multiselect

      Filter to these patch statuses.

      Options MANUALAPPROVEDFAILEDREJECTED
    • Severity severity multiselect

      Filter to these severities.

      Options UNKNOWNLOWMODERATEIMPORTANTCRITICALOPTIONAL
    • Type type multiselect

      Filter to these patch types.

      Options UNKNOWNPATCHINSTALLER
    • Timestamp Filter timestamp_filter text

      NinjaOne monitoring timestamp filter ("ts" syntax).

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countcursorresults
  • Get Pending Software Patches Report 8 params
    get_pending_software_patches_report

    Estate-wide pending, failed, and rejected third-party software patches. This is the "who else is exposed?" query for a product-specific advisory.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Status status multiselect

      Filter to these patch statuses.

      Options MANUALAPPROVEDFAILEDREJECTED
    • Impact impact multiselect

      Filter to these impact levels.

      Options UNKNOWNOPTIONALRECOMMENDEDCRITICAL
    • Type type multiselect

      Filter to these patch types.

      Options UNKNOWNPATCHINSTALLER
    • Product Identifier product_identifier text

      Restrict to a single product, as listed by Get Software Products.

    • Timestamp Filter timestamp_filter text

      NinjaOne monitoring timestamp filter ("ts" syntax).

    • Product Name Contains name_contains text

      Case-insensitive substring match on the product name, applied after the results are fetched. Use it to turn an advisory's product name into "which of our endpoints run this?".

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countcursorresults
  • Scan OS Patches 1 param
    scan_os_patches

    Triggers an operating system patch scan on a device so its pending-patch list is refreshed before you read it.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns statusdevice_idactionmessage
  • Apply OS Patches 1 param
    apply_os_patches

    Triggers installation of approved operating system patches on a device. NinjaOne returns no job identifier, so poll Get Device Jobs or re-read the pending list to confirm completion.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns statusdevice_idactionmessage
  • Scan Software Patches 1 param
    scan_software_patches

    Triggers a third-party software patch scan on a device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns statusdevice_idactionmessage
  • Apply Software Patches 1 param
    apply_software_patches

    Triggers installation of approved third-party software patches on a device. This is the actual remediation step for a vulnerable application.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns statusdevice_idactionmessage
  • Run Script 5 params
    run_script

    Runs a saved automation script, or a built-in action, on a device. Supply exactly one of Script ID or Action UID -- NinjaOne rejects both together.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Script ID script_id integer

      Numeric ID of a script from the automation library, as listed by Get Automation Scripts.

    • Action UID action_uid text

      String UID of a built-in action. Use instead of Script ID, never alongside it.

    • Parameters parameters text

      Command-line parameters passed to the script or action.

    • Run As run_as text

      Credential role to run under, e.g. "system" or "loggedonuser".

    Returns jobUid
  • Get Automation Scripts 1 param
    get_automation_scripts

    Lists the automation scripts available in the tenant, with the IDs that Run Script takes.

    • Language language text

      Language tag for localized names.

  • Get Device Scripting Options 2 params
    get_scripting_options

    Lists the scripts, built-in actions, and credential roles that are valid for one specific device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Language language text

      Language tag for localized names.

  • Reboot Device 3 params
    reboot_device

    Reboots a device, either gracefully or forcibly.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Reboot Mode mode select required

      NORMAL asks the operating system to reboot cleanly. FORCED does not wait for applications to close and can lose unsaved work.

      Default NORMAL

      Options NORMALFORCED
    • Reason reason text

      Reason recorded against the reboot in the device activity log.

    Returns statusdevice_idmode
  • Control Windows Service 3 params
    control_windows_service

    Starts, stops, pauses, or restarts a Windows service on a device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Service ID service_id text required

      Service identifier, as returned by Get Windows Services.

    • Action action select required

      Action to take on the service.

      Options STARTPAUSESTOPRESTART
    Returns statusdevice_idservice_idaction
  • Schedule Maintenance 5 params
    schedule_maintenance

    Suppresses monitoring on a device for a window. End Time is mandatory -- NinjaOne has no open-ended maintenance mode.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • End Time end_time datetime required

      When the maintenance window ends. Required.

    • Start Time start_time datetime

      When the maintenance window begins. Defaults to now.

    • Disabled Features disabled_features text

      Features to suspend during the window, comma-separated, e.g. "ALERTS,PATCHING,AVSCANS,TASKS".

    • Reason reason text

      Reason recorded for the window.

    Returns statusdevice_idend
  • Cancel Maintenance 1 param
    cancel_maintenance

    Ends an active maintenance window on a device and resumes monitoring.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    Returns statusdevice_id
  • Get Active Jobs 3 params
    get_jobs

    Lists jobs currently running across the estate -- the way to see whether a patch apply or script run is still in flight.

    • Job Type job_type text

      Filter to these job types, comma-separated.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Time Zone timezone text

      IANA time zone used to render timestamps, e.g. "America/Los_Angeles". Defaults to the tenant setting.

  • Get Device Jobs 2 params
    get_device_jobs

    Lists jobs currently running on one device. Poll this after Apply Patches or Run Script, which return no job identifier of their own.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Time Zone timezone text

      IANA time zone used to render timestamps, e.g. "America/Los_Angeles". Defaults to the tenant setting.

  • Get Alerts 3 params
    get_alerts

    Lists active alerts (triggered conditions) across the estate.

    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Source Type source_type text

      Filter to alerts from this source type, e.g. "CONDITION".

    • Time Zone timezone text

      IANA time zone used to render timestamps, e.g. "America/Los_Angeles". Defaults to the tenant setting.

  • Get Device Alerts 2 params
    get_device_alerts

    Lists active alerts for one device.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Time Zone timezone text

      IANA time zone used to render timestamps, e.g. "America/Los_Angeles". Defaults to the tenant setting.

  • Reset Alert 2 params
    reset_alert

    Clears a triggered condition. Supplying Activity Data records that data on the resulting activity entry, which is how you write a FortiSOAR case reference back into NinjaOne.

    • Alert UID alert_uid text required

      UID of the alert to reset, as returned by Get Alerts.

    • Activity Data activity_data json

      Optional JSON object recorded against the reset activity.

    Returns statusalert_uid
  • Get Activities 12 params
    get_activities

    Retrieves the activity log across the estate, filtered by class, type, status, time window, or device.

    • Activity Class activity_class select

      Restrict to system, device, or user activities.

      Default ALL

      Options ALLSYSTEMDEVICEUSER
    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Activity Type type text

      Restrict to this activity type.

    • Status status text

      Restrict to these statuses, comma-separated.

    • User user text

      Restrict to these users, comma-separated.

    • Alert Series UID series_uid text

      Restrict to activities belonging to one alert series.

    • Start Time start_time datetime

      Only activities recorded at or after this time.

    • End Time end_time datetime

      Only activities recorded at or before this time.

    • Newer Than Activity ID newer_than integer

      Only activities with an ID greater than this. The reliable cursor for polling, since it cannot skip entries that share a timestamp.

    • Older Than Activity ID older_than integer

      Only activities with an ID lower than this.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    • Time Zone timezone text

      IANA time zone used to render timestamps, e.g. "America/Los_Angeles". Defaults to the tenant setting.

    Returns lastActivityIdactivities
  • Get Device Activities 10 params
    get_device_activities

    Retrieves the activity log for one device -- the audit trail of what NinjaOne did to it and when.

    • Device ID device_id integer required

      Numeric NinjaOne device identifier. Use Search Devices to resolve a hostname, IP, or logged-on user to this ID.

    • Activity Type type text

      Restrict to this activity type.

    • Status status text

      Restrict to these statuses, comma-separated.

    • Alert Series UID series_uid text

      Restrict to activities belonging to one alert series.

    • Start Time start_time datetime

      Only activities recorded at or after this time.

    • End Time end_time datetime

      Only activities recorded at or before this time.

    • Newer Than Activity ID newer_than integer

      Only activities with an ID greater than this.

    • Older Than Activity ID older_than integer

      Only activities with an ID lower than this.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    • Time Zone timezone text

      IANA time zone used to render timestamps, e.g. "America/Los_Angeles". Defaults to the tenant setting.

  • Get Organizations 2 params
    get_organizations

    Lists the organizations (tenants) in NinjaOne.

    • Organization Filter organization_filter text

      NinjaOne organization filter ("of" syntax).

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countorganizations
  • Get Organization 1 param
    get_organization

    Retrieves a single organization by ID.

    • Organization ID organization_id integer required

      Numeric organization identifier.

    Returns idnamedescription
  • Get Organization Devices 2 params
    get_organization_devices

    Lists every device belonging to one organization. Pages automatically.

    • Organization ID organization_id integer required

      Numeric organization identifier.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countorganization_iddevices
  • Get Organization Locations 1 param
    get_organization_locations

    Lists the locations configured for an organization.

    • Organization ID organization_id integer required

      Numeric organization identifier.

  • Get Groups
    get_groups

    Lists groups (saved device searches). A group is the usual way to express "all servers" or "all laptops missing patches" once and reuse it.

    No parameters.

  • Get Group Devices 1 param
    get_group_devices

    Returns the device IDs that currently match a group's saved search.

    • Group ID group_id integer required

      Numeric group identifier.

  • Get Policies
    get_policies

    Lists the policies defined in the tenant, with the IDs that Update Device takes.

    No parameters.

  • Get Software Products
    get_software_products

    Lists the third-party products NinjaOne can patch, with the product identifiers the software patch operations filter on.

    No parameters.

  • Generate Agent Installer 4 params
    generate_installer

    Mints a pre-tokenized agent installer download link for an organization and location. This is how a device gets enrolled from a playbook: the URL already carries the organization and location, so nothing has to be typed on the endpoint.

    • Organization ID organization_id integer required

      Organization the enrolled device will belong to.

    • Location ID location_id integer required

      Location within that organization, as listed by Get Organization Locations.

    • Installer Type installer_type select required

      Agent package to build. WINDOWS_MSI for Windows guests; LINUX_RPM for a Rocky/RHEL host, LINUX_DEB for Debian/Ubuntu.

      Default WINDOWS_MSI

      Options WINDOWS_MSIWINDOWS_ARM64_MSIMAC_DMGMAC_PKGLINUX_DEBLINUX_RPMLINUX_ARM64_DEBLINUX_ARMV7A_DEBLINUX_ARM64_RPMLINUX_ARMV7A_RPM
    • Usage Limit usage_limit integer

      How many times the link may be downloaded. The URL is a bearer credential for joining your tenant, so keep this at 1 for a single machine.

      Default 1

    Returns urlinstallerTypeorganizationIdlocationId
  • Create Ticket 16 params
    create_ticket

    Creates a NinjaOne ticket, optionally linked to a device. Requires the Ninja Ticketing add-on to be enabled on the tenant.

    • Organization ID organization_id integer required

      Organization (client) the ticket belongs to.

    • Ticket Form ID ticket_form_id integer required

      Ticket form to create against, as listed by the ticketing configuration.

    • Subject subject text required

      Ticket subject line.

    • Status status text required

      Ticket status, e.g. "NEW". Must be a status defined on the tenant.

    • Description description text

      Ticket body. Sent as the description document.

    • Public Description public checkbox

      Make the description visible to the end user rather than internal-only.

      Default false

    • Device ID device_id integer

      Device to associate the ticket with.

    • Location ID location_id integer

      Location for the ticket.

    • Type type select

      Ticket type.

      Options PROBLEMQUESTIONINCIDENTTASKCHANGE_REQUESTSERVICE_REQUESTPROJECTAPPOINTMENTMISCELLANEOUS
    • Severity severity select

      Ticket severity.

      Options NONEMINORMODERATEMAJORCRITICAL
    • Priority priority select

      Ticket priority.

      Options NONELOWMEDIUMHIGH
    • Assigned Technician ID assigned_user_id integer

      Technician to assign the ticket to.

    • Requester UID requester_uid text

      UID of the requesting contact or end user.

    • Parent Ticket ID parent_ticket_id integer

      Parent ticket, to create this as a child.

    • Tags tags text

      Tags to apply, comma-separated.

    • Additional Fields additional_fields json

      Any other body fields, as a JSON object.

    Returns idversionclientIdticketFormIdnodeIdsubjectstatustypeseveritypriorityassignedAppUserIdrequesterUidtagscreateTime
  • Get Ticket 1 param
    get_ticket

    Retrieves a ticket by ID, including the version number that Update Ticket needs.

    • Ticket ID ticket_id integer required

      Numeric ticket identifier.

    Returns idversionclientIdticketFormIdnodeIdsubjectstatustypeseveritypriorityassignedAppUserIdrequesterUidtagscreateTime
  • Update Ticket 11 params
    update_ticket

    Changes fields on an existing ticket. NinjaOne's update endpoint is a full replace, so this operation reads the ticket first and layers your changes on top -- supply only the fields you want changed.

    • Ticket ID ticket_id integer required

      Numeric ticket identifier.

    • Status status text

      New ticket status.

    • Subject subject text

      New subject line.

    • Type type select

      New ticket type.

      Options PROBLEMQUESTIONINCIDENTTASKCHANGE_REQUESTSERVICE_REQUESTPROJECTAPPOINTMENTMISCELLANEOUS
    • Severity severity select

      New severity.

      Options NONEMINORMODERATEMAJORCRITICAL
    • Priority priority select

      New priority.

      Options NONELOWMEDIUMHIGH
    • Assigned Technician ID assigned_user_id integer

      Reassign to this technician.

    • Location ID location_id integer

      New location.

    • Device ID device_id integer

      Associate with this device.

    • Tags tags text

      Replacement tags, comma-separated. Replaces the existing set.

    • Additional Fields additional_fields json

      Any other body fields, as a JSON object. Applied last, so it overrides everything above.

    Returns idversionclientIdticketFormIdnodeIdsubjectstatustypeseveritypriorityassignedAppUserIdrequesterUidtagscreateTime
  • Add Ticket Comment 4 params
    add_ticket_comment

    Appends a comment to a ticket, either internal or visible to the end user.

    • Ticket ID ticket_id integer required

      Numeric ticket identifier.

    • Comment Body body text required

      Comment text.

    • Public Comment public checkbox

      Make the comment visible to the end user rather than internal-only.

      Default false

    • HTML Body html_body text

      Optional HTML rendering of the comment.

    Returns idticketId
  • Get Tickets by Board 7 params
    get_tickets_by_board

    Runs a ticketing board and returns the tickets it matches -- the way to list tickets, since NinjaOne has no flat ticket search.

    • Board ID board_id integer required

      Numeric board identifier.

    • Search Criteria search text

      Free-text search within the board.

    • Filters filters json

      Board filters, as a JSON array.

    • Sort By sort_by json

      Sort specification, as a JSON array.

    • Include Columns include_columns text

      Columns to return, comma-separated.

    • Last Cursor ID last_cursor_id integer

      Cursor from a previous page, to continue paging.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

  • Fetch Patch Findings 7 params
    fetch_patch_findings

    Pulls pending, failed, and rejected patches across the estate and normalizes OS and third-party patches into one flat finding shape, so a single playbook mapping covers both. This is the ingestion entry point.

    • Patch Kind patch_kind select

      Which patch sources to pull.

      Default Both

      Options BothOperating SystemThird-Party Software
    • Device Filter device_filter text

      NinjaOne device filter (the "df" syntax), e.g. "org = 1", "class = WINDOWS_WORKSTATION", or "online = true". Leave blank for the whole estate.

    • Status status multiselect

      Filter to these patch statuses.

      Options MANUALAPPROVEDFAILEDREJECTED
    • OS Severity severity multiselect

      Severity filter, applied to operating system patches only.

      Options UNKNOWNLOWMODERATEIMPORTANTCRITICALOPTIONAL
    • Software Impact impact multiselect

      Impact filter, applied to third-party software patches only.

      Options UNKNOWNOPTIONALRECOMMENDEDCRITICAL
    • Product Identifier product_identifier text

      Restrict third-party results to a single product.

    • Maximum Records max_records integer

      Hard stop on the number of records returned. The connector pages until it reaches this many.

      Default 200

    Returns countfindings
Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000