Skip to content
DocumentationAPI Reference

Save Shows for Current User

client.me.shows.save(ShowSaveParams { ids, published } body?, RequestOptionsoptions?): void
PUT/me/shows

Save one or more shows to current Spotify user's library.

ParametersExpand Collapse
body: ShowSaveParams { ids, published }
ids?: Array<string>

A JSON array of the Spotify IDs.
A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

published?: boolean

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, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

Save Shows for Current User

import Spotted from 'spotted-ts';

const client = new Spotted({
  accessToken: process.env['SPOTIFY_ACCESS_TOKEN'], // This is the default and can be omitted
});

await client.me.shows.save();
Returns Examples