Skip to main content
POST /v3/assets uploads a file in one multipart/form-data request and returns an asset_id. For files over the limits below, use direct upload to S3. To pick a method or see where an asset_id can be used, start at the Assets overview.

Upload a file

The MIME type is detected from the file bytes.

Limits

Each file is checked against the content policy after upload. A blocked file is removed, and later requests for its asset_id return not found.

Example request

The response carries the asset_id, a public url of the uploaded file, the detected mime_type, and size_bytes; see the reference. The asset_id does not expire; see Asset lifetime and deletion.

Example: upload then generate

Upload a PDF, then pass its asset_id to Video Agent: