Youtube

Learn how to use Youtube with Composio

Overview

Enum

YOUTUBE

Description

Youtube actions to interact with youtube app

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.channel-memberships.creator https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtubepartner-channel-audit
base_url
stringDefaults to https://www.googleapis.com/youtube/v3

Actions

Retrieves the youtube channel id for a specific youtube channel handle.

Action Parameters

channel_handle
stringRequired

Action Response

data
object
error
successful
boolean
Retrieves a list of caption tracks for a youtube video, returning an empty list if no captions exist or failing if the video id is invalid or not found.

Action Parameters

part
stringDefaults to snippet
videoId
stringRequired

Action Response

data
object
error
successful
boolean
Lists videos from a specified youtube channel, ensuring results are of `type: 'video'`.

Action Parameters

channelId
stringRequired
maxResults
integerDefaults to 5
pageToken
string
part
stringDefaults to snippet

Action Response

data
object
error
successful
boolean
Retrieves playlists owned by the authenticated user, implicitly using mine=true.

Action Parameters

maxResults
integerDefaults to 5
pageToken
string
part
stringDefaults to snippet

Action Response

data
object
error
successful
boolean
Retrieves the authenticated user's youtube channel subscriptions, allowing specification of response parts and pagination.

Action Parameters

maxResults
integerDefaults to 5
pageToken
string
part
stringDefaults to snippet,contentDetails

Action Response

data
object
error
successful
boolean
Downloads a specific youtube caption track, which must be owned by the authenticated user, and returns its content as text.

Action Parameters

id
stringRequired
tfmt
stringDefaults to srt

Action Response

data
object
error
successful
boolean
Searches youtube for videos, channels, or playlists using a query term, returning the raw api response.

Action Parameters

maxResults
integerDefaults to 5
pageToken
string
part
stringDefaults to snippet
q
stringRequired
type
stringDefaults to video

Action Response

data
object
error
successful
boolean
Subscribes the authenticated user to a specified youtube channel, identified by its unique `channelid` which must be valid and existing.

Action Parameters

channelId
stringRequired

Action Response

data
object
error
successful
boolean
Sets the custom thumbnail for a youtube video using an image from thumbnailurl; the authenticated user must have permission to edit the video.

Action Parameters

thumbnailUrl
stringRequired
videoId
stringRequired

Action Response

data
object
error
successful
boolean
Updates metadata for a youtube video identified by videoid, which must exist; an empty list for tags removes all existing tags.

Action Parameters

categoryId
string
description
string
privacyStatus
string
tags
array
title
string
videoId
stringRequired

Action Response

data
object
error
successful
boolean
Uploads a video from a local file path to a youtube channel; the video file must be in a youtube-supported format.

Action Parameters

categoryId
stringRequired
description
stringRequired
privacyStatus
stringRequired
tags
arrayRequired
title
stringRequired
videoFilePath
stringRequired

Action Response

data
object
error
successful
boolean
Retrieves specified information parts (e.g., snippet, contentdetails, statistics) for a youtube video, identified by its id.

Action Parameters

id
stringRequired
part
stringDefaults to snippet,contentDetails,statistics

Action Response

data
object
error
successful
boolean