curl --request POST \
--url https://video.bunnycdn.com/library/{libraryId}/videos/fetch \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"headers": {},
"title": "<string>"
}
'{
"success": true,
"message": "<string>",
"statusCode": 123
}curl --request POST \
--url https://video.bunnycdn.com/library/{libraryId}/videos/fetch \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"headers": {},
"title": "<string>"
}
'{
"success": true,
"message": "<string>",
"statusCode": 123
}AccessKey based authentication
(Optional) Video time in ms to extract the main video thumbnail.
Was this page helpful?