Skip to content
Browse all functions

Update YouTube Playlist Item

youtube/updateyoutubeplaylistitem

updateyoutubeplaylistitem (Update YouTube Playlist Item) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/updateyoutubeplaylistitem, 3 credits per call. It works in Make, n8n, scripts and AI agents as a plain HTTP call.

This function is deprecated and will be removed in a future release.

Modifies a playlist item. For example, you could update the items position in the playlist. If you are submitting an update request, and your request does not specify a value for a property that already has a value, the propertys existing value will be deleted.

  • This service is provided by an external service provider: YouTube. The data of the call is sent to the provider. More about service providers

Try it in the 1001fx app

Run updateyoutubeplaylistitem in your browser with your API key – fill the form, click Run and get the answer or the file.

updateyoutubeplaylistitem in the 1001fx app: the form with example values
Update YouTube Playlist Item in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/youtube/updateyoutubeplaylistitem
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json

Parameters

  • credentialKeystringrequired

    Your 1001fx credential key. See https://1001fx.com/app/credentials/list

    Example:
    yourCredentialKey
  • idstringrequired

    Item ID of the item you want to update.

    Example:
    UExTTjQxZ2ozaXFPQXdUeUhrRmdYcWExZ21XT1NjajFfZS41NkI0NEY2RDEwNTU3Q0M2
  • playlistIdstringrequired

    Your YouTube playlist ID.

    Example:
    PLSN41gj3iqOAwTyHkFgXqa1gmWOScj1_e
  • videoIdstringrequired

    Video ID to add to the playlist.

    Example:
    D0s7dm_Of2A
  • positionnumberoptional

    The order in which the item appears in the playlist. The value uses a zero-based index. If no position is specified the resource will be added to the end of the playlist.

    Example:
    1
  • notestringoptional

    A user-generated note for this item. The property value has a maximum length of 280 characters.

    Example:
    1

Examples

Update YouTube Playlist Item

Returns a playlist item resource

Input

Expects a json body
{
  "credentialKey": "yourCredentialKey",
  "id": "UExTTjQxZ2ozaXFPQXdUeUhrRmdYcWExZ21XT1NjajFfZS41NkI0NEY2RDEwNTU3Q0M2",
  "playlistId": "PLSN41gj3iqOAwTyHkFgXqa1gmWOScj1_e",
  "videoId": "D0s7dm_Of2A",
  "position": 1,
  "note": "My special note"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/youtube/updateyoutubeplaylistitem' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"credentialKey":"yourCredentialKey","id":"UExTTjQxZ2ozaXFPQXdUeUhrRmdYcWExZ21XT1NjajFfZS41NkI0NEY2RDEwNTU3Q0M2","playlistId":"PLSN41gj3iqOAwTyHkFgXqa1gmWOScj1_e","videoId":"D0s7dm_Of2A","position":1,"note":"My special note"}'

Try updateyoutubeplaylistitem now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.027.04.2023created
Ask 1001fx