Initiate

Initiate a multi-part VOD upload

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Start a multipart VOD upload session. Use this flow for large files (required above 5 GB). Full walkthrough: VOD Upload - Multipart.

Next steps: Get presigned URLs, then Complete Multipart.

📘

Authenticate with X-Api-Key and send X-Format: default. JSON bodies need Content-Type: application/json. Host: https://developer.dacast.com.

Storage is chosen server-side (today often Wasabi; AWS may appear later). Always use the s3_path and later the presigned_urls you receive - do not hardcode upload.dacast.com.

Request body

FieldTypeRequiredDescription
filenamestringYesName of the file being uploaded (for example yourFileNameHere.mp4).
destination_folders_idsarray of stringNoNumeric folder ids to place the VOD into after upload (for example ["1259852"]). See List Folders / Folders.
recipe_idstringNoNon-default encoding recipe id from Lookup Recipes (recipeId). Omit to use the account default.

Example

curl -X POST "https://developer.dacast.com/v2/vod/upload/init-multipart" \
  -H "X-Api-Key: insertYourApiKeyHere" \
  -H "X-Format: default" \
  -H "Content-Type: application/json" \
  -d "{\"filename\":\"yourFileNameHere.mp4\"}"

Response (200)

{
  "s3_path": "s3://universe-vod-storage-us-east-2/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/ffffffff-1111-2222-3333-444444444444/source.mp4",
  "uploader_id": "Akh-…"
}
FieldDescription
s3_pathStorage path for this upload. Pass the same value to signatures and complete.
uploader_idUpload session id. Pass the same value to signatures and complete.

A successful call returns 200. Keep both fields for the rest of the flow.

Body Params
string
required

Name of the file being uploaded

destination_folders_ids
array of strings

A list of destination folders IDs

destination_folders_ids
string

A non-default rendition recipe id

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json