Skip to main content
POST
Upload YouTube media

Authorizations

Authorization
string
header
required

Pass your API key via the Authorization header: Bearer <api-key>

Body

application/json
channelId
string
required

YouTube channel ID

Example:

"ch_yt123"

mediaId
string
required

Media library ID of the file to upload

videoId
string
required

YouTube video ID

mediaType
enum<string>
required
Available options:
VIDEO,
IMAGE
mediaName
string
default:thumbnail

Response

Successful response

success
boolean
required

Success status

data
object | null
required

The YoutubeMediaUploadResult.

Last modified on November 23, 2026