---
title: "Get a signed URL for direct S3 upload"
method: POST
path: "/v1/upload/sign"
tags: ["Upload"]
---

# Get a signed URL for direct S3 upload

`POST /v1/upload/sign`

## Request

- Base URL: `https://api.picsha.ai`
- URL: `https://api.picsha.ai/v1/upload/sign`
- Auth: HTTP bearer

## Headers

- `x-org-id` string
- `x-external-user-id` string

## Request body

- object
  - `contentType` string, required: MIME type of the file
  - `filename` string: Original filename

## Response `200`

Default Response

- object
  - `uploadUrl` string, required
  - `assetId` string, required
  - `key` string, required
  - `method` string, required

## Other responses

- `500`: Default Response

---

[API](https://skmtc.dev/picsha/apis/picsha-ai-api.md) · [All operations](https://skmtc.dev/picsha/apis/picsha-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/picsha/apis/picsha-ai-api/revisions/f77c6ac40e70?raw)
