Skip to main content
POST
/
transcode
Start transcode job
curl --request POST \
  --url https://api.videodb.io/transcode \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "source": "m-12345"
}
'
{
  "success": true,
  "data": {
    "job_id": "job-12345"
  }
}
Start a transcode job for a video. Transcoding optimizes the video format for better compatibility and playback performance.
  • source is the video ID to transcode
  • Transcoding is asynchronous; use the status endpoint to track progress
  • The transcoded video replaces the original format

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Body

application/json
source
string
required

Source video ID

Example:

"m-12345"

Response

Transcode job started

success
boolean
Example:

true

data
object