---
title: "生成预签名上传地址"
method: POST
path: "/v1/console/uploads/presign"
tags: ["MediaService"]
---

# 生成预签名上传地址

`POST /v1/console/uploads/presign`

为图片、音频、视频、PDF 等大资源生成对象存储预签名上传地址。

## Request body

- object
  - `content_type` string
  - `expires_in` integer — 过期秒数
  - `file_name` string
  - `size_bytes` integer
  - `team_id` integer

## Response `200`

OK

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
