---
title: "POST /v1/account/tenant/file/upload/prepare"
method: POST
path: "/v1/account/tenant/file/upload/prepare"
tags: ["account"]
---

# POST /v1/account/tenant/file/upload/prepare

`POST /v1/account/tenant/file/upload/prepare`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/v1/account/tenant/file/upload/prepare`
- Auth: none declared. Required headers: `x-tenant-id`

## Headers

- `x-tenant-id` string, required

## Request body

- PrepareUploadRequestDto
  - `name` string, required
  - `contentType` string, required

## Response `200`

- CreatePresignedPostResponseDto
  - `url` string, required: Upload to this url
  - `fields` object, required: Attach these headers to the upload call. Keep order of headers

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
