cURL
curl --request POST \ --url https://video.bunnycdn.com/library/{libraryId}/videos/{videoId}/thumbnail \ --header 'AccessKey: <api-key>' \ --header 'Content-Type: application/octet-stream' \ --data '"<string>"'
{ "success": true, "message": "<string>", "statusCode": 123 }
AccessKey based authentication
Optional thumbnail file to upload
The thumbnail was successfully set
Determines if the request was successful
Response message description
The response status code
Was this page helpful?