Copy Playlist Items
A 4-step recipe with YouTube. We can help you get access.
Recipe · 4 steps
Copy Playlist Items
with YouTube
Clone the first two items of a source playlist into a new playlist.
- Create the destination playlist that will receive the copied items.
- List the first items of the source playlist and capture two video ids.
- Insert the first source video into the destination playlist.
- Insert the second source video into the destination playlist.
What you'll need to have ready
- apiKey: The Google API key used to authorize each YouTube Data API request.
- sourcePlaylistId: The id of the playlist to copy items from.
- newPlaylistTitle: The title for the new destination playlist.
- privacyStatus: The privacy status of the new playlist.
For your developer
Arazzo workflow youtube:copy-playlist-items, 4 operations: youtube.playlists.insert → listPlaylistItems → insertPlaylistItem → insertPlaylistItem. Specs on APIs.io.