YouTube
Integrate your application with the YouTube API
🚀 Quickstart
Connect to YouTube with Tenklo and see data flow in 2 minutes.
In Tenklo (free signup), go to Integrations -> Configure New Integration -> YouTube.
Tenklo has credentials you can use for testing. Activate them in the dashboard.
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.
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.
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.
- How to register your own YouTube OAuth app
Register an OAuth app with YouTube and obtain credentials to connect it to Tenklo
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 name | Description | Type | Source code |
|---|---|---|---|
add-playlist-item | Add a video to a YouTube playlist | Action | 🔗 Github |
create-comment-reply | Reply to an existing YouTube comment | Action | 🔗 Github |
create-comment | Create a top-level comment on a YouTube video or channel thread. | Action | 🔗 Github |
create-playlist | Create a YouTube playlist for the authenticated channel. | Action | 🔗 Github |
delete-comment | Delete a YouTube comment by comment ID | Action | 🔗 Github |
delete-playlist-item | Remove an item from a YouTube playlist | Action | 🔗 Github |
delete-playlist | Delete a YouTube playlist by playlist ID | Action | 🔗 Github |
delete-video | Delete a YouTube video owned by the authenticated channel. | Action | 🔗 Github |
get-channel | Retrieve YouTube channel details by ID, handle, username, or mine | Action | 🔗 Github |
get-comment | Retrieve a YouTube comment by comment ID. | Action | 🔗 Github |
get-playlist | Retrieve a YouTube playlist by playlist ID. | Action | 🔗 Github |
get-video | Retrieve a YouTube video by video ID | Action | 🔗 Github |
list-captions | List caption tracks for a YouTube video. | Action | 🔗 Github |
list-channel-playlists | List playlists for a YouTube channel | Action | 🔗 Github |
list-comment-threads | List YouTube comment threads for a video or channel. | Action | 🔗 Github |
list-playlist-items | List items in a YouTube playlist | Action | 🔗 Github |
list-uploaded-videos | List uploaded videos for a channel using its uploads playlist. | Action | 🔗 Github |
update-comment | Update the text of a YouTube comment. | Action | 🔗 Github |
update-playlist-item | Update a playlist item's metadata or position. | Action | 🔗 Github |
update-playlist | Update a YouTube playlist's metadata or privacy state | Action | 🔗 Github |
update-video | Update YouTube video metadata for an owned video. | Action | 🔗 Github |
caption-tracks | Sync caption track metadata for YouTube videos in scope | Sync | 🔗 Github |
channel-playlists | Sync playlists for YouTube channels in scope | Sync | 🔗 Github |
channels | Sync one or more YouTube channels in scope | Sync | 🔗 Github |
comment-threads | Sync comment threads for YouTube videos or channels in scope | Sync | 🔗 Github |
playlist-items | Sync items from YouTube playlists in scope | Sync | 🔗 Github |
uploaded-videos | Sync uploaded videos for YouTube channels in scope | Sync | 🔗 Github |