Skip to main content
POST
Prepare a media asset upload

Authorizations

WLT-Api-Key
string
header
required

API key for authentication. Get your key from the developer portal.

Body

application/json

Request to prepare a media asset upload.

file_name
string
required

File name

Maximum string length: 64
kind
enum<string>
required

High-level media type

Available options:
image,
video
Examples:

"image"

"video"

extension
string | null

File extension without dot

Example:

"mp4"

metadata
Metadata · object | null

Optional application-specific metadata

Response

Successful Response

Response from preparing a media asset upload.

media_asset
MediaAsset · object
required

The created media asset

upload_info
UploadUrlInfo · object
required

Upload URL information