---
title: "Start a multipart video upload"
method: POST
path: "/v1/sites/{siteId}/videos/uploads"
tags: ["Uploads"]
---

# Start a multipart video upload

`POST /v1/sites/{siteId}/videos/uploads`

## Request

- Base URL: `https://api.dropl.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dropl.io/v1/sites/{siteId}/videos/uploads`
- Auth: HTTP bearer

Requires the `media:write` scope (upload photos and videos). Send `Idempotency-Key` to retry safely: a repeat with the same key and body within 24 hours returns the first response.

## Path parameters

- `siteId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- CreateVideoUploadRequest
  - `fileName` string, required
  - `contentType` 'video/mp4' | 'video/quicktime' | 'video/webm' | 'video/x-matroska' | 'video/x-msvideo' | 'video/mpeg' | 'video/x-m4v', required
  - `sizeBytes` integer, required
  - `title` string
  - `folderId` string, uuid, nullable

## Response `201`

Success

- CreateVideoUploadResponse
  - `uploadSessionId` string, uuid, required
  - `videoId` string, uuid, required
  - `publicId` string, required
  - `partSizeBytes` integer, required: Every part except the last must be exactly this size.
  - `partCount` integer, required
  - `expiresAt` string, date-time, required

## Other responses

- `400`: Validation failed
- `401`: `INVALID_API_KEY`: missing, invalid, expired, or revoked key
- `403`: `INSUFFICIENT_SCOPE` (names the missing scope), `SITE_RESTRICTED_KEY`, or a plan limit
- `404`: Not found, or outside the key's sites
- `409`: `IDEMPOTENCY_KEY_IN_PROGRESS` or a conflict
- `422`: `IDEMPOTENCY_KEY_REUSED`
- `429`: Rate limited

---

[API](https://skmtc.dev/dropl/apis/dropl-public-api.md) · [All operations](https://skmtc.dev/dropl/apis/dropl-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dropl/apis/dropl-public-api/revisions/8a42e1f968d4?raw)
