---
title: "Upload temporary attachments"
method: POST
path: "/v2/attachments/temp/upload"
tags: ["Knowledge Base Articles"]
---

# Upload temporary attachments

`POST /v2/attachments/temp/upload`

Upload temporary attachment

## Query parameters

- `entityType` 'TICKET' | 'NODE' | 'DOCUMENT' | 'KB_DOCUMENT' | 'RELATED_ITEM' | 'CHECKLIST' | 'AUTOMATION' | 'LOCATION' | 'ORGANIZATION' | 'TRIGGER' | 'TECHNICIAN' | 'FILE_TRANSFER_AUTOMATION' | 'END_USER' | 'EMAIL_TEMPLATE' | 'POLICY' | 'APPROVAL_INSTANCE' | 'NINJA_BILLING_INVOICE' | 'ANDROID_LIBRARY_APK' | 'GLOBAL_CUSTOM_FIELD'

## Response `200`

Returns a list of uploaded attachments metadata

- object[]
  - `name` string — name
  - `mimeType` string — Mime type
  - `size` string — Size in bytes
  - `extension` string — File extension
  - `contentId` string — Content identifier

## Other responses

- `422` — An unsupported attachment entity type was used

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
