ninjaone

Provides nodes to integrate and manage NinjaOne API for device, user, and policy management in IT automation workflows.AI-generated

Documentation

n8n      AvantGuard

NinjaOne n8n Node

n8n community node npm

Ninja One Public API documentation.

See also:
Device Filter syntax
Webhooks

Table of Contents

Installation

Follow the n8n community node installation guide.

Or install directly via npm:

npm install @avantguardllc/n8n-nodes-ninjaone

Authentication

This node authenticates using OAuth 2.0.

Setting Value
Type OAuth2
Base URL https://api.example.com (editable in credentials)

Tip: The Base URL can be changed in the credential settings if your instance uses a different host.

Resources & Operations

Base URL: https://api.example.com

System

Endpoint Description
πŸ”΅ GET /v2/contacts Contact list
πŸ”΅ GET /v2/contact/{id} Contact details
πŸ”΅ GET /v2/organizations List organizations
πŸ”΅ GET /v2/policies List policies
πŸ”΅ GET /v2/jobs List active jobs
πŸ”΅ GET /v2/activities List activities
πŸ”΅ GET /v2/alerts List active alerts (triggered conditions)
πŸ”΅ GET /v2/automation/scripts List all available automation scripts
πŸ”΅ GET /v2/device-custom-fields Device Custom Fields
πŸ”΅ GET /v2/devices List devices
πŸ”΅ GET /v2/devices-detailed List devices (detailed)
πŸ”΅ GET /v2/notification-channels/enabled List enabled notification channels
πŸ”΅ GET /v2/groups List groups (saved searches)
πŸ”΅ GET /v2/locations List locations
πŸ”΅ GET /v2/roles List device roles
πŸ”΅ GET /v2/notification-channels List notification channels
πŸ”΅ GET /v2/organizations-detailed List organizations (Detailed)
πŸ”΅ GET /v2/tasks List scheduled tasks
πŸ”΅ GET /v2/software-products List supported 3rd party software
πŸ”΅ GET /v2/users List users
πŸ”΅ GET /v2/devices/search Find devices
πŸ”΅ GET /v2/user/end-users End user list
πŸ”΅ GET /v2/user/technicians Technicians list
πŸ”΅ GET /v2/user/roles Get user roles

Management

Endpoint Description
🟒 POST /v2/contacts Create a contact
🟣 PATCH /v2/contact/{id} Update a contact
πŸ”΄ DELETE /v2/contact/{id} Delete a contact
πŸ”΅ GET /v2/policies/{policy_id}/condition/custom-fields Get custom fields policy conditions
🟒 POST /v2/policies/{policy_id}/condition/custom-fields Create custom fields policy condition
πŸ”΅ GET /v2/policies/{policy_id}/condition/windows-event Get windows event conditions
🟒 POST /v2/policies/{policy_id}/condition/windows-event Create windows event condition
πŸ”΄ DELETE /v2/policies/{policy_id}/condition/{condition_id} Delete policy condition
πŸ”΅ GET /v2/policies/{policy_id}/condition/custom-fields/{condition_id} Get custom fields policy condition
πŸ”΅ GET /v2/policies/{policy_id}/condition/windows-event/{condition_id} Get windows event condition
🟒 POST /v2/organizations Create new organization
🟒 POST /v2/devices/approval/{mode} Approve/Reject devices
πŸ”΄ DELETE /v2/alert/{uid} Reset alert/condition
🟒 POST /v2/alert/{uid}/reset Reset alert/condition and provide custom data for activity
🟑 PUT /v2/device/{id}/maintenance Schedule maintenance
πŸ”΄ DELETE /v2/device/{id}/maintenance Cancel maintenance
🟒 POST /v2/device/{id}/windows-service/{serviceId}/control Windows service control
🟣 PATCH /v2/device/{id} Update device information
πŸ”΅ GET /v2/device/{id}/dashboard-url Device link
πŸ”΄ DELETE /v2/device/{id}/policy/overrides Reset device policy overrides
🟒 POST /v2/device/{id}/reboot/{mode} Reboot device
πŸ”΄ DELETE /v2/device/{id}/owner Remove device owner
πŸ”΅ GET /v2/device/{id}/scripting/options Device scripting options
🟒 POST /v2/device/{id}/script/run Run script or built-in action
🟒 POST /v2/device/{id}/owner/{ownerUid} Set device owner
🟒 POST /v2/device/{id}/windows-service/{serviceId}/configure Modify Windows Service configuration
🟒 POST /v2/device/{id}/patch/os/apply Run OS patch apply
🟒 POST /v2/device/{id}/patch/os/scan Run OS patch scan
🟒 POST /v2/device/{id}/patch/software/apply Run Software patch apply
🟒 POST /v2/device/{id}/patch/software/scan Run Software patch scan
🟒 POST /v2/organization/{id}/locations Add new location to organization
🟒 POST /v2/organization/generate-installer Generate installer
πŸ”΅ GET /v2/organization/{id}/location/{location_id}/installer/{installer_type} Generate installer
🟣 PATCH /v2/organization/{id} Update organization
🟣 PATCH /v2/organization/{id}/locations/{locationId} Update location
🟑 PUT /v2/organization/{id}/policies Change organization policy mappings
🟒 POST /v2/policies Creates new Policy
🟒 POST /v2/user/end-users Create end user
🟣 PATCH /v2/user/end-user/{id} Update a specific end user
πŸ”΄ DELETE /v2/user/end-user/{id} Delete end user
🟒 POST /v2/user/technicians Create a technician
🟣 PATCH /v2/user/technician/{id} Update a technician
πŸ”΄ DELETE /v2/user/technician/{id} Delete a technician
🟣 PATCH /v2/user/role/{roleId}/add-members Add user role members
🟣 PATCH /v2/user/role/{roleId}/remove-members Remove users from user role

NodeRoles

Endpoint Description
🟒 POST /v2/noderole Create node roles
🟣 PATCH /v2/noderole Update node roles
🟒 POST /v2/noderole/delete Delete node roles
πŸ”΅ GET /v2/noderole/list Get all node roles

Webhooks

Endpoint Description
🟑 PUT /v2/webhook Update API Webhook configuration
πŸ”΄ DELETE /v2/webhook Remove Webhook API channel

KnowledgeBaseArticles

Endpoint Description
🟒 POST /v2/attachments/temp/upload Upload temporary attachments
🟒 POST /v2/knowledgebase/articles/archive Archive knowledge base articles
🟒 POST /v2/knowledgebase/folders/archive Archive knowledge base folders
🟒 POST /v2/knowledgebase/articles Create knowledge base articles
🟣 PATCH /v2/knowledgebase/articles Update knowledge base articles
🟒 POST /v2/knowledgebase/articles/delete Delete knowledge base articles
🟒 POST /v2/knowledgebase/folders/delete Delete knowledge base folders
πŸ”΅ GET /v2/knowledgebase/article/{articleId}/download Download knowledge base article
πŸ”΅ GET /v2/knowledgebase/organization/articles Lists organization knowledge base articles
πŸ”΅ GET /v2/knowledgebase/global/articles Lists global knowledge base articles
πŸ”΅ GET /v2/knowledgebase/article/{articleId}/signed-urls Get knowledge base article signed urls
πŸ”΅ GET /v2/knowledgebase/folder/{folderId} Returns knowledge base folder
πŸ”΅ GET /v2/knowledgebase/folder Returns knowledge base folder
🟣 PATCH /v2/knowledgebase/folders/move Move knowledge base items
🟒 POST /v2/knowledgebase/articles/restore Restore archive knowledge base articles
🟒 POST /v2/knowledgebase/folders/restore Restore archived knowledge base folders
🟒 POST /v2/knowledgebase/articles/upload Upload knowledge base articles
πŸ”΅ GET /v2/related-items/{relatedItemId}/attachment/download Download related item attachment
πŸ”΅ GET /v2/related-items/with-entity/{entityType}/{entityId}/attachments/signed-urls Get related item attachments signed urls

ChecklistTemplates

Endpoint Description
🟒 POST /v2/checklist/archive Archive a checklist template
πŸ”΅ GET /v2/checklist/templates List checklist templates
🟒 POST /v2/checklist/templates Create checklist templates
🟑 PUT /v2/checklist/templates Update checklist templates
πŸ”΄ DELETE /v2/checklist/template/{checklistTemplateId} Delete a checklist template
🟒 POST /v2/checklist/templates/delete Delete checklist templates
🟒 POST /v2/checklist/restore Restore a checklist template

OrganizationChecklists

Endpoint Description
🟒 POST /v2/organization/archive Archive organization checklists
πŸ”΅ GET /v2/organization/checklists List client checklists
🟒 POST /v2/organization/checklists Create organization checklists
🟑 PUT /v2/organization/checklists Update organization checklists
🟒 POST /v2/organization/{organizationId}/checklists-from-templates Create organization checklists from templates
πŸ”΅ GET /v2/organization/checklist/{checklistId} Get client checklist
πŸ”΄ DELETE /v2/organization/checklist/{checklistId} Delete an organization checklist
🟒 POST /v2/organization/checklists/delete Delete organization checklists
πŸ”΅ GET /v2/organization/checklist/{checklistId}/signed-urls Get organization checklist signed urls
🟒 POST /v2/organization/checklists/promote-with-name Promote organization checklists
🟒 POST /v2/organization/checklists/promote Promote organization checklists
🟒 POST /v2/organization/restore Restore organization checklists

OrganizationDocuments

Endpoint Description
🟒 POST /v2/organization/document/{clientDocumentId}/archive Archive an organization document
🟒 POST /v2/organization/documents/archive Archives organization documents
🟒 POST /v2/organization/{organizationId}/template/{documentTemplateId}/document Create organization document
πŸ”΅ GET /v2/organization/documents List all organization documents with field values
🟒 POST /v2/organization/documents Create organization documents
🟣 PATCH /v2/organization/documents Update organization documents
πŸ”΄ DELETE /v2/organization/document/{clientDocumentId} Delete an archived organization document
πŸ”΅ GET /v2/organization/document/{clientDocumentId}/signed-urls Get organization document signed urls
πŸ”΅ GET /v2/organization/{organizationId}/documents List organization documents with field values
🟒 POST /v2/organization/document/{clientDocumentId}/restore Restore an organization document
🟒 POST /v2/organization/documents/restore Restore multiple multi page organization documents
🟒 POST /v2/organization/{organizationId}/document/{clientDocumentId} Update organization document

DocumentTemplates

Endpoint Description
🟒 POST /v2/document-templates/{documentTemplateId}/archive Archive a document template
🟒 POST /v2/document-templates/archive Archive multiple document templates
πŸ”΅ GET /v2/document-templates List document templates with fields
🟒 POST /v2/document-templates Create document template
πŸ”΅ GET /v2/document-templates/{documentTemplateId} Get document template
🟑 PUT /v2/document-templates/{documentTemplateId} Update document template
πŸ”΄ DELETE /v2/document-templates/{documentTemplateId} Delete a document template
🟒 POST /v2/document-templates/{documentTemplateId}/restore Restore a document template
🟒 POST /v2/document-templates/restore Restore a document template

AssetTags

Endpoint Description
🟒 POST /v2/tag/{assetType} Batch tag assets
πŸ”΅ GET /v2/tag Get Asset Tags
🟒 POST /v2/tag Create an Asset Tag
🟑 PUT /v2/tag/{tagId} Update an Asset Tag
πŸ”΄ DELETE /v2/tag/{tagId} Delete an Asset Tag
🟒 POST /v2/tag/delete Delete several Asset Tags
🟒 POST /v2/tag/merge Merge existing tags
🟑 PUT /v2/tag/{assetType}/{assetId} Set tags for an asset

CustomFields

Endpoint Description
πŸ”΅ GET /v2/custom-fields/entity-type/{entityType}/{entityId}/signed-urls Get custom field signed urls

RelatedItems

Endpoint Description
🟒 POST /v2/related-items/entity/{entityType}/{entityId}/attachment Create Attachment Relation
🟒 POST /v2/related-items/entity/{entityType}/{entityId}/relation Create entity relation
🟒 POST /v2/related-items/entity/{entityType}/{entityId}/relations Create entity relations
🟒 POST /v2/related-items/entity/{entityType}/{entityId}/secure Create Secure Relation
πŸ”΄ DELETE /v2/related-items/{relatedItemId} Delete related item
πŸ”΄ DELETE /v2/related-items/{entityType}/{entityId} Delete related items
πŸ”΅ GET /v2/related-items List all related items
πŸ”΅ GET /v2/related-items/with-entity/{entityType}/{entityId} List host entity related items by scope
πŸ”΅ GET /v2/related-items/with-related-entity/{relEntityType}/{relEntityId} List related entity related items
πŸ”΅ GET /v2/related-items/with-related-entity-type/{relatedEntityType} List related entity type related items
πŸ”΅ GET /v2/related-items/with-entity-type/{entityType} List host entity type related items

SoftwareLicenses

Endpoint Description
🟒 POST /v2/software-license Create a Software License
πŸ”΅ GET /v2/software-license/{licenseId} Get Software License
🟑 PUT /v2/software-license/{licenseId} Update a Software License
πŸ”΄ DELETE /v2/software-license/{licenseId} Delete a Software License
🟒 POST /v2/software-license/upsert Create or Update a Software License

UnmanagedDevices

Endpoint Description
🟒 POST /v2/itam/unmanaged-device Create an Unmanaged Device
🟑 PUT /v2/itam/unmanaged-device/{nodeId} Update an Unmanaged Device
πŸ”΄ DELETE /v2/itam/unmanaged-device/{nodeId} Delete an Unmanaged Device

Backup

Endpoint Description
🟒 POST /v2/backup/bandwidth-throttle Sets the bandwidth throttle for a device
πŸ”΅ GET /v2/backup/integrity-check-jobs Integrity check jobs.
🟒 POST /v2/backup/integrity-check-jobs Create an integrity check job
πŸ”΅ GET /v2/backup/jobs Backup jobs

CustomTabs

Endpoint Description
🟒 POST /v2/tab Create a new Custom Tab
πŸ”΅ GET /v2/tab/{tabId} Retrieve a Custom Tab
🟣 PATCH /v2/tab/{tabId} Update a Custom Tab
πŸ”΄ DELETE /v2/tab/{tabId} Delete a Custom Tab
πŸ”΅ GET /v2/tab/{tabId}/end-user Retrieve the requested tab along with any extensions for end-user tabs
πŸ”΅ GET /v2/tab/{tabId}/organization Retrieve the requested tab along with any extensions for organization and location tabs
πŸ”΅ GET /v2/tab/{tabId}/role/{roleId} Retrieve the requested tab along with any extensions based on the supplied roleId
πŸ”΅ GET /v2/tab/summary/end-user Retrieve all of the custom tabs available to end user views
πŸ”΅ GET /v2/tab/summary/organization Retrieve all of the custom tabs available to organizations and locations
πŸ”΅ GET /v2/tab/summary/role/{roleId} Retrieve all of the custom tabs that would appear for the given role
🟣 PATCH /v2/tab/rename Rename a Custom Tab
🟣 PATCH /v2/tab/role/{roleId}/visibility Set the tab visibility of the specified tab
🟣 PATCH /v2/tab/end-user/order Update the order of custom tabs for end-user tabs
🟣 PATCH /v2/tab/organization/order Update the order of custom tabs for organizations and locations
🟣 PATCH /v2/tab/role/{roleId}/order Update the order of custom tabs for a specific role

Ticketing

Endpoint Description
🟒 POST /v2/ticketing/ticket Create ticket
🟒 POST /v2/ticketing/ticket/{ticketId}/comment Add comment to ticket
πŸ”΅ GET /v2/ticketing/ticket/{ticketId} Ticket
🟑 PUT /v2/ticketing/ticket/{ticketId} Update ticket
πŸ”΅ GET /v2/ticketing/ticket/{ticketId}/log-entry List ticket log entries
πŸ”΅ GET /v2/ticketing/attributes List ticket attributes
πŸ”΅ GET /v2/ticketing/contact/contacts List contacts
πŸ”΅ GET /v2/ticketing/ticket-form/{id} Ticket form
πŸ”΅ GET /v2/ticketing/ticket-form List ticket forms
πŸ”΅ GET /v2/ticketing/statuses Get list of ticket status
πŸ”΅ GET /v2/ticketing/trigger/boards List boards
🟒 POST /v2/ticketing/trigger/board/{boardId}/run List of tickets for board
πŸ”΅ GET /v2/ticketing/app-user-contact List of users by user type

VulnerabilityManagement

Endpoint Description
πŸ”΅ GET /v2/vulnerability/scan-groups Fetch all Scan Groups
πŸ”΅ GET /v2/vulnerability/scan-groups/{scan-group-id} Fetch Scan Group
🟒 POST /v2/vulnerability/scan-groups/{scan-group-id}/upload Upload CSV

Devices

Endpoint Description
πŸ”΅ GET /v2/device/{id} Device details
πŸ”΅ GET /v2/device/{id}/jobs Device currently running (active) jobs
πŸ”΅ GET /v2/device/{id}/activities Device activities
πŸ”΅ GET /v2/device/{id}/alerts Device alerts (triggered conditions)
πŸ”΅ GET /v2/device/{id}/disks Device disk drives
πŸ”΅ GET /v2/device/{id}/os-patch-installs OS Patch installation report for device
πŸ”΅ GET /v2/device/{id}/software-patch-installs Software Patch history for device
πŸ”΅ GET /v2/device/{id}/last-logged-on-user Last logged-on user information
πŸ”΅ GET /v2/device/{id}/network-interfaces Device network interfaces
πŸ”΅ GET /v2/device/{id}/os-patches OS Patches
πŸ”΅ GET /v2/device/{id}/software-patches Pending, Failed and Rejected Software patches for device
πŸ”΅ GET /v2/device/{id}/processors Device processors
πŸ”΅ GET /v2/device/{id}/windows-services Windows services
πŸ”΅ GET /v2/device/{id}/software Device software inventory
πŸ”΅ GET /v2/device/{id}/volumes Device storage volumes
πŸ”΅ GET /v2/device/{id}/custom-fields Device custom fields
🟣 PATCH /v2/device/{id}/custom-fields Update Field Values
πŸ”΅ GET /v2/device/{id}/policy/overrides Get summary of device policy overrides

Groups

Endpoint Description
πŸ”΅ GET /v2/group/{id}/device-ids Group members

Organization

Endpoint Description
πŸ”΅ GET /v2/organization/{id}/locations Organization locations
πŸ”΅ GET /v2/organization/{id}/end-users List users
πŸ”΅ GET /v2/organization/{id}/locations/{locationId}/backup/usage Organization location backup usage
πŸ”΅ GET /v2/organization/{id}/custom-fields Organization custom fields
🟣 PATCH /v2/organization/{id}/custom-fields Update Field Values
πŸ”΅ GET /v2/organization/{id} Organization information
πŸ”΅ GET /v2/organization/{id}/devices Organization devices
πŸ”΅ GET /v2/organization/{id}/locations/backup/usage Organization locations backup usage

Location

Endpoint Description
πŸ”΅ GET /v2/organization/{id}/location/{locationId}/custom-fields Location custom fields
🟣 PATCH /v2/organization/{id}/location/{locationId}/custom-fields Update Field Values

Queries

Endpoint Description
πŸ”΅ GET /v2/queries/antivirus-status Antivirus status report
πŸ”΅ GET /v2/queries/antivirus-threats Antivirus threats report
πŸ”΅ GET /v2/queries/computer-systems Computer systems report
πŸ”΅ GET /v2/queries/custom-fields-detailed Custom fields detailed report
πŸ”΅ GET /v2/queries/custom-fields Custom fields report
πŸ”΅ GET /v2/queries/device-health Device health report
πŸ”΅ GET /v2/queries/backup/usage Device backup usage
πŸ”΅ GET /v2/queries/disks Disk drives report
πŸ”΅ GET /v2/queries/os-patch-installs OS Patch installation report
πŸ”΅ GET /v2/queries/software-patch-installs Software Patch history report
πŸ”΅ GET /v2/queries/logged-on-users Last logged-on user report
πŸ”΅ GET /v2/queries/network-interfaces List Network Interfaces
πŸ”΅ GET /v2/queries/operating-systems Operating systems report
πŸ”΅ GET /v2/queries/os-patches Pending, Failed and Rejected OS patches report
πŸ”΅ GET /v2/queries/software-patches Pending, Failed and Rejected Software patches report
πŸ”΅ GET /v2/queries/policy-overrides Get summary of device policy overrides
πŸ”΅ GET /v2/queries/processors Processor report
πŸ”΅ GET /v2/queries/raid-controllers RAID controller report
πŸ”΅ GET /v2/queries/raid-drives RAID drive report
πŸ”΅ GET /v2/queries/scoped-custom-fields-detailed Scoped custom fields detailed report
πŸ”΅ GET /v2/queries/scoped-custom-fields Scoped custom fields report
πŸ”΅ GET /v2/queries/software Software inventory
πŸ”΅ GET /v2/queries/volumes Disk volumes report
πŸ”΅ GET /v2/queries/windows-services Windows services report

Users

Endpoint Description
πŸ”΅ GET /v2/user/end-user/{id} End user details
πŸ”΅ GET /v2/user/end-user/{id}/custom-fields End user custom fields
🟣 PATCH /v2/user/end-user/{id}/custom-fields Update Field Values
πŸ”΅ GET /v2/user/technician/{id} Technician details

Compatibility

  • n8n version: 1.0+ (tested on 2.x)
  • Node.js version: 18+

License

MIT

Discussion