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

KnowledgeBaseArticles → Upload temporary attachments

AI-generated

Summary

Upload temporary attachments related to knowledge base articles by sending file data and optional metadata to the NinjaOne API endpoint.

Inputs

  • entityType — Specifies the entity type associated with the attachments, such as TICKET, NODE, DOCUMENT, KB_DOCUMENT, and others; defaults to TICKET if not specified.
  • files — A JSON array containing file objects to be uploaded as temporary attachments.
  • customBody — Allows sending arbitrary JSON data in the request body to override or extend the predefined fields.
  • headerFilters — Custom HTTP headers to include in the upload request.
  • queryFilters — Additional query-string parameters to include in the request URL.
  • batching — Settings to batch multiple input items into groups for sequential upload requests with optional delays to prevent rate limiting.
  • debug — When enabled, includes detailed debug information about the API request (URL, headers, body) in the node output.
  • pagination — Controls pagination behavior if the operation supports multiple pages of results (not typically relevant for upload).
  • timeout — Maximum time in milliseconds to wait for the server response before aborting the request.

Output shape

a JSON object representing the API response confirming upload status of the temporary attachments

Includes the server response data corresponding to the uploaded attachments. If debug is enabled, also includes the actual request details. Pagination options are unlikely to affect this upload operation.

Links

Discussion