Skip to main content

Upload & Process

Upload (Direct Upload Flow)

1) Request a presigned upload URL

Endpoint: POST /videos/upload-url

Body:

{
"fileName": "demo.mp4",
"allowPublicAccess": true,
"videoQuality": "standard"
}

Response contains videoID, signedURL, bucketPath, expiresAt.

2) Upload the file

PUT the file bytes to signedURL from the previous step. The URL is time-limited.

3) Wait for processing

Processing starts automatically. Poll details:

GET /videos/{assetId}/details

Notes

  • API requests use X-Api-Key.
  • Playback uses Edge Keys (see the playback controls docs).