---
title: "Create File Upload URL"
method: POST
path: "/v2/teams/{teamId}/files/create-upload-url"
tags: ["Files"]
---

# Create File Upload URL

`POST /v2/teams/{teamId}/files/create-upload-url`

Generate a signed URL for uploading a file directly to GCS.

## Path parameters

- `teamId` string, required

## Request body

- object
  - `fileName` string, required — Name of the file to upload
  - `contentType` string, required — MIME type of the file

## Response `200`

Default Response

- object
  - `signedUrl` string, uri, required — The signed URL for uploading
  - `expiresAt` string, date-time, required — When the URL expires
  - `filePath` string, required — The path where the file will be stored

## Other responses

- `400` — Default Response
- `401` — Default Response
- `500` — Default Response

---

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