Skip to main content
POST
/
libraries
/
{libraryId}
/
videos
/
{videoId}
/
thumbnails
Upload Thumbnail
curl --request POST \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos/{videoId}/thumbnails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "message": "Video Thumbnail Created Successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

libraryId
string
required

Unique identifier of the library.

videoId
string
required

Unique identifier of the targeted video resource.

Body

multipart/form-data
file
file
required

The thumbnail file to upload, allowed formats are ".jpg", ".jpeg", ".png", ".gif"

Response

message
string
required
success
boolean
required