Skip to content

Set default YouTube playlist

Sets the default playlist used when publishing videos for this account. When a post does not specify a playlistId, the default playlist is not automatically used (it is stored for client-side convenience).

PUT /v1/accounts/{accountId}/youtube-playlists

Sets the default playlist used when publishing videos for this account. When a post does not specify a playlistId, the default playlist is not automatically used (it is stored for client-side convenience).

Parameters

  • accountId (path, string) required

Request body

Content-Type: application/json

  • defaultPlaylistId (string) required
  • defaultPlaylistName (string)

Example:

json

{
  "defaultPlaylistId": "PLxxxxxxxxxxxxx",
  "defaultPlaylistName": "Tutorials"
}

Responses

200 — Default playlist set

  • success (boolean)

400 — Invalid request

401

404 — Account not found