Create Playlist

Go to Product

Create Playlist

Create a playlist for a Spotify user. (The playlist will be empty until you add tracks.) Each user is generally limited to a maximum of 11000 playlists.

Options

User Id
The user's Spotify user ID.
Body

Request body which must comply to the following JSON Schema:

{
  "required" : [ "name" ],
  "type" : "object",
  "properties" : {
    "name" : {
      "type" : "string",
      "description" : "The name for the new playlist, for example `\"Your Coolest Playlist\"`. This name does not need to be unique; a user may have several playlists with the same name.\n"
    },
    "public" : {
      "type" : "boolean",
      "description" : "Defaults to `true`. The playlist's public/private status (if it should be added to the user's profile or not): `true` the playlist will be public, `false` the playlist will be private. To be able to create private playlists, the user must have granted the `playlist-modify-private` [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about public/private status, see [Working with Playlists](/documentation/web-api/concepts/playlists)\n"
    },
    "collaborative" : {
      "type" : "boolean",
      "description" : "Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to create a collaborative playlist you must also set `public` to `false`. To create collaborative playlists you must have granted `playlist-modify-private` and `playlist-modify-public` [scopes](/documentation/web-api/concepts/scopes/#list-of-scopes)._\n"
    },
    "description" : {
      "type" : "string",
      "description" : "value for playlist description as displayed in Spotify Clients and in the Web API.\n"
    }
  },
  "additionalProperties" : true,
  "example" : {
    "name" : "New Playlist",
    "description" : "New playlist description",
    "public" : false
  }
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Collaborative: true if the owner allows other users to modify the playlist.
  • Description: The playlist description. Only returned for modified, verified playlists, otherwise null.
  • External Urls: Known external URLs for this playlist.
  • Followers: Information about the followers of the playlist.
  • Href: A link to the Web API endpoint providing full details of the playlist.
  • Id: The Spotify ID for the playlist.
  • Images: Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See Working with Playlists. Note: If returned, the source URL for the image (url) is temporary and will expire in less than a day.
  • Name: The name of the playlist.
  • Owner: The user who owns the playlist
  • Public: The playlist's public/private status (if it is added to the user's profile): true the playlist is public, false the playlist is private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists
  • Snapshot Id: The version identifier for the current playlist. Can be supplied in other requests to target a specific playlist version
  • Tracks: The tracks of the playlist.
  • Type: The object type: "playlist"
  • Uri: The Spotify URI for the playlist.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.