Upload media to collection
post/collection/{collection_id}/upload
Request
- Base URLhttps://api.videodb.io
- AuthAPI key in header x-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idstring required
Example:default
Request body
Example request
{
"url": "https://example.com/video.mp4",
"name": "My Video",
"media_type": "video",
"callback_url": "https://webhook.example.com/callback"
}Response
Upload initiated
Example response
{
"success": true,
"status": "processing",
"data": {
"id": "job-123",
"output_url": "https://api.videodb.io/async-response/job-123"
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.