---
title: "POST /openapi/v1/uns/attachments"
method: POST
path: "/openapi/v1/uns/attachments"
tags: ["openapi/v1/uns", "openapiV1Uns"]
---

# POST /openapi/v1/uns/attachments

`POST /openapi/v1/uns/attachments`

## Request body

- UnsAttachmentUploadReq
  - `unsId` integer
  - `topic` string
  - `fileName` string
  - `sha256` string

## Response `200`

A successful response.

- object
  - `code` integer
  - `msg` string
  - `data` UnsAttachmentUploadResp
    - `unsId` integer, required
    - `fileName` string
    - `filePath` string, required
    - `fileUrl` string
    - `contentType` string
    - `size` integer
    - `sha256` string
    - `createdAt` integer
    - `fileUrlExpiresAt` integer

---

[API](https://skmtc.net/freezonex/apis/untitled-api.md) · [All operations](https://skmtc.net/freezonex/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freezonex/untitled-api/revisions/e5f616b215c8/schema)
