---
title: "Create attachment"
method: POST
path: "/note_attachment"
---

# Create attachment

`POST /note_attachment`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/note_attachment`
- Auth: API key in header `x-api-key`

## Request body

- object
  - `module_name` 'ESTIMATE' | 'INVOICE' | 'SERVICE_CONTRACT' | 'PROPERTY' | 'ORGANIZATION' | 'ASSET' | 'REQUEST' | 'PRODUCTS', required
  - `module_uid` string, required: UID of selected module_name
  - `data` object
    - `type` 'ATTACHMENT'
    - `attachments` object[]
      - `file_name` string, required
      - `url` string, required
      - `file_size` integer
      - `visible_to_customer` boolean
    - `notes` object[]
      - `content` string
      - `visible_to_customer` boolean
      - `attachments` object[]
        - `attachment_name` string
        - `attachment` string
        - `attachment_type` ''TEXT'' | ''AUDIO'' | ''VIDEO'' | ''IMAGE'' | ''DOCUMENT''
        - `attachment_size` number, float

## Response `200`

200

## Other responses

- `500`: 500

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/note_attachment/post.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
