Sign in

Insert playlist item

documented

Add a video to a playlist.

POST /playlistItemsPlaylistItemsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.googleapis.com/youtube/v3/playlistItems?part={{$part}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"snippet": {"playlistId": "{{$playlist_id}}", "resourceId": {"kind": "youtube#video", "videoId": "{{$video_id}}"}, "position": {{$position}}}}'