---
title: "Upload files"
method: POST
path: "/open-api/v3/files/upload"
tags: ["Common Interface"]
---

# Upload files

`POST /open-api/v3/files/upload`

File upload interface, used to upload files to the platform, supporting batch file stream upload.

Supported file types:
- Images: .jpg, .jpeg, .png, .gif, .bmp, .svg, .ico, .webp
- Documents: .pdf, .doc, .xls, .ppt, .txt, .docx, .xlsx, .pptx
- Archives: .zip, .rar, .7z, .tar, .gz

Note: We will detect file content to verify that the actual file type matches the extension.

## Response `200`

OK

- OpenApiFileV3UploadDataVO
  - `code` string — Error code
  - `message` string — Error message
  - `data` OpenApiFileV3UploadVO[], required — data
    - `id` string — File ID
    - `accountId` string — Account ID
    - `createTime` string — Creation time

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/interlace/apis/core-resource.md) · [All operations](https://skmtc.net/interlace/apis/core-resource/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interlace/core-resource/revisions/29c08a4da357/schema)
