YouTube

Integrate your application with the YouTube API

🚀 Quickstart

Connect to YouTube with Tenklo and see data flow in 2 minutes.

Create the integration

In Tenklo (free signup), go to Integrations -> Configure New Integration -> YouTube.

Tenklo has credentials you can use for testing. Activate them in the dashboard.

Authorize YouTube

Go to Connections -> Add Test Connection -> Authorize, then log in to YouTube. Later, you'll let your users do the same directly from your app.

Call the YouTube API

Let's make your first request to the YouTube API (fetch channel information). Replace the placeholders below with your Environment API key, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/youtube/v3/channels?part=snippet&mine=true" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"

Or fetch credentials with the Node SDK or API.

✅ You're connected! Check the Logs tab in Tenklo to inspect requests.

Implement Tenklo in your app

Follow our Auth implementation guide to integrate Tenklo in your app.

To obtain your own production credentials, follow the setup guide linked below.

📚 YouTube Integration Guides

Tenklo maintained guides for common use cases.

Official docs: YouTube API documentation

🧩 Pre-built syncs & actions for YouTube

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

Others

Function nameDescriptionTypeSource code
add-playlist-itemAdd a video to a YouTube playlistAction🔗 Github
create-comment-replyReply to an existing YouTube commentAction🔗 Github
create-commentCreate a top-level comment on a YouTube video or channel thread.Action🔗 Github
create-playlistCreate a YouTube playlist for the authenticated channel.Action🔗 Github
delete-commentDelete a YouTube comment by comment IDAction🔗 Github
delete-playlist-itemRemove an item from a YouTube playlistAction🔗 Github
delete-playlistDelete a YouTube playlist by playlist IDAction🔗 Github
delete-videoDelete a YouTube video owned by the authenticated channel.Action🔗 Github
get-channelRetrieve YouTube channel details by ID, handle, username, or mineAction🔗 Github
get-commentRetrieve a YouTube comment by comment ID.Action🔗 Github
get-playlistRetrieve a YouTube playlist by playlist ID.Action🔗 Github
get-videoRetrieve a YouTube video by video IDAction🔗 Github
list-captionsList caption tracks for a YouTube video.Action🔗 Github
list-channel-playlistsList playlists for a YouTube channelAction🔗 Github
list-comment-threadsList YouTube comment threads for a video or channel.Action🔗 Github
list-playlist-itemsList items in a YouTube playlistAction🔗 Github
list-uploaded-videosList uploaded videos for a channel using its uploads playlist.Action🔗 Github
update-commentUpdate the text of a YouTube comment.Action🔗 Github
update-playlist-itemUpdate a playlist item's metadata or position.Action🔗 Github
update-playlistUpdate a YouTube playlist's metadata or privacy stateAction🔗 Github
update-videoUpdate YouTube video metadata for an owned video.Action🔗 Github
caption-tracksSync caption track metadata for YouTube videos in scopeSync🔗 Github
channel-playlistsSync playlists for YouTube channels in scopeSync🔗 Github
channelsSync one or more YouTube channels in scopeSync🔗 Github
comment-threadsSync comment threads for YouTube videos or channels in scopeSync🔗 Github
playlist-itemsSync items from YouTube playlists in scopeSync🔗 Github
uploaded-videosSync uploaded videos for YouTube channels in scopeSync🔗 Github

On this page