---
title: "Create Upload Urls"
method: POST
path: "/api/tryon/upload-urls"
tags: ["tryon"]
---

# Create Upload Urls

`POST /api/tryon/upload-urls`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/tryon/upload-urls`
- Auth: HTTP bearer

## Request body

- TryonUploadUrlsRequest
  - `project_id` string, uuid, required
  - `files` TryonUploadFileInfo[], required
    - `filename` string, required
    - `content_type` string, required
    - `size` integer, required

## Response `200`

Successful Response

- TryonUploadUrlsResponse
  - `uploads` TryonUploadUrlItem[], required
    - `upload_url` string, required
    - `s3_key` string, required
    - `filename` string, required
    - `content_type` string, required
    - `expires_in` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
