action spotify_create_playlist { label: "Create Playlist\n" description: "Create a playlist for a Spotify user. (The playlist will be empty until\nyou [add tracks](/documentation/web-api/reference/#/operations/add-tracks-to-playlist).)\n" provider: spotify method: POST path: "/users/{user_id}/playlists" encoding: json input: { type: "object" required: ["name"] properties: { 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/general/guides/authorization-guide/#list-of-scopes)._\n" } description: { type: "string" description: "value for playlist description as displayed in Spotify Clients and in the Web API.\n" } 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`. If `true` the playlist will be public, if `false` it will be private. To be able to create private playlists, the user must have granted the `playlist-modify-private` [scope](/documentation/general/guides/authorization-guide/#list-of-scopes)\n" } } } output: { type: "object" additionalProperties: true } }