Skip to main content
POST
/
webhooks
/
transcoding
/
vidinfra
Transcoding Webhook
curl --request POST \
  --url https://api.tenbyte.io/v1/stream/webhooks/transcoding/vidinfra \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "video_id": "38dc2a4b-b2fe-46cf-ad7f-ee33a001ce49",
  "id": "a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04",
  "status": "processing",
  "duration": 1265,
  "size": 54321065,
  "raw_size": 98765465
}
'
{
  "message": "transcoding webhook accepted"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
video_id
string

Unique identifier of the video that is being transcoded.

id
string

Unique identifier of the transcoding job or process.

status
string

Current status of the transcoding process (e.g., 'queued', 'processing', 'completed', 'failed').

duration
integer

Total duration of the transcoded video in seconds.

size
integer

Size of the final transcoded video file in bytes.

raw_size
integer

Size of the original source video file in bytes before transcoding.

Response

message
string
required