Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add items to playlist
SPOTIFY_ADD_ITEMS_TO_PLAYLISTAdd one or more items to a user's playlist.
Add item to playback queue
SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUEAdd an item to the end of the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.
Change playlist details
SPOTIFY_CHANGE_PLAYLIST_DETAILSChange a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user
Follow artists or users
SPOTIFY_FOLLOW_ARTISTS_OR_USERSFollow one or more artists or Spotify users by ID for the current authenticated user, adding them to the user's following list. Requires user-follow-modify; up to 50 IDs can be supplied. DEPRECATED: The legacy endpoint is unavailable to affected Development Mode apps; Spotify recommends PUT /me/library with Spotify URIs instead.
Follow playlist
SPOTIFY_FOLLOW_PLAYLISTFollow a playlist for the current Spotify user by playlist ID, publicly or privately. Requires playlist-modify-public or playlist-modify-private as appropriate. DEPRECATED: The legacy endpoint is unavailable under updated Development Mode restrictions; use PUT /me/library with a Spotify URI instead. Extended Quota Mode apps are unaffected.
Pause playback
SPOTIFY_PAUSE_PLAYBACKPause playback on the user's account. Pauses playback on the currently active device or on a specified device. Returns immediately with success when playback is paused. If no device is specified, the currently active device will be paused. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. If playback is already paused, this action will still succeed (idempotent). Common scenarios: - Pause current playback: Call with no parameters - Pause specific device: Provide device_id parameter Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found
Remove playlist items
SPOTIFY_REMOVE_PLAYLIST_ITEMSRemove one or more items from a user's playlist. This endpoint removes tracks or episodes from a playlist. You can remove items by URI (removes all occurrences) or by URI + positions (removes specific occurrences). Requires 'playlist-modify-public' scope for public playlists or 'playlist-modify-private' scope for private playlists.
Remove users saved albums
SPOTIFY_REMOVE_USERS_SAVED_ALBUMSRemove one or more albums from the current user's saved library. Removing an album that is not saved does not cause an error. Requires user-library-modify. DEPRECATED: The album-specific endpoint is unavailable to apps subject to updated Development Mode restrictions; use DELETE /me/library with Spotify URIs instead.
Remove User's Saved Audiobooks
SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKSRemove one or more saved audiobooks from the current user's Spotify library by ID. Supply up to 50 IDs as a list or comma-separated string; user-library-modify is required. DEPRECATED: This legacy endpoint is unavailable to affected Development Mode apps; use DELETE /me/library with Spotify URIs instead.
Remove user's saved episodes
SPOTIFY_REMOVE_USER_S_SAVED_EPISODESRemove up to 50 episodes by ID from the current user's Your Episodes library; removing an unsaved episode succeeds. Requires user-library-modify. This action is currently unavailable. DEPRECATED: Spotify replaced the legacy endpoint with DELETE /me/library for affected Development Mode apps; Extended Quota Mode apps are unaffected.
Remove user s saved shows
SPOTIFY_REMOVE_USER_S_SAVED_SHOWSRemove one or more shows by Spotify ID from the current user's library. Requires the user-library-modify scope. DEPRECATED: This show-specific endpoint is unavailable to affected Development Mode apps; use DELETE /me/library with Spotify URIs instead.
Remove user s saved tracks
SPOTIFY_REMOVE_USER_S_SAVED_TRACKSRemove one or more tracks by Spotify ID from the current user's library. Requires the user-library-modify scope. DEPRECATED: The track-specific endpoint is unavailable to apps subject to updated Development Mode restrictions; use DELETE /me/library with Spotify URIs instead.
Save albums for current user
SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USERSave one or more albums by Spotify ID to the current user's library. Requires the user-library-modify scope; saving an already saved album is idempotent. DEPRECATED: This album-specific endpoint is unavailable to affected Development Mode apps; use PUT /me/library with Spotify URIs instead.
Save audiobooks for current user
SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USERSave up to 50 audiobooks by Spotify ID to the current user's library for later access. Requires the user-library-modify scope. DEPRECATED: Spotify removed this audiobook-specific endpoint for apps subject to updated Development Mode restrictions; use PUT /me/library with Spotify URIs instead.
Save episodes for current user
SPOTIFY_SAVE_EPISODES_FOR_CURRENT_USERSave up to 50 podcast episodes by Spotify ID to the current user's Your Episodes library for later playback. Saving an already saved episode succeeds; the user-library-modify scope is required. DEPRECATED: This legacy endpoint is unavailable to affected Development Mode apps; use PUT /me/library with Spotify URIs instead. Extended Quota Mode apps retain the legacy endpoint.
Save shows for current user
SPOTIFY_SAVE_SHOWS_FOR_CURRENT_USERSave up to 50 shows by Spotify ID to the current user's library. Requires the user-library-modify scope. DEPRECATED: This endpoint is unavailable to affected Development Mode apps; use PUT /me/library with Spotify URIs instead.
Save tracks for current user
SPOTIFY_SAVE_TRACKS_FOR_CURRENT_USERSave tracks to the current user's Spotify library using up to 50 track IDs or timestamped IDs. Requires user-library-modify. DEPRECATED: This legacy endpoint is unavailable to affected Development Mode apps; use PUT /me/library with Spotify URIs instead.
Seek to position
SPOTIFY_SEEK_TO_POSITIONSeek to a position in milliseconds in the user's currently playing track, targeting a specified device or the active device by default. A position beyond the track duration skips to the next track. Requires Spotify Premium and the user-modify-playback-state scope; execution order with other Player API commands is not guaranteed.
Set playback volume
SPOTIFY_SET_PLAYBACK_VOLUMESet the volume for the user's current playback device. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.
Set repeat mode
SPOTIFY_SET_REPEAT_MODESet the repeat mode for the user's playback. Controls whether playback should repeat the current track, the current context (playlist, album, etc.), or not repeat at all. The change takes effect immediately on the user's active device. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Valid repeat modes: - "track": Repeat the current track continuously - "context": Repeat the current context (playlist/album/etc.) - "off": Turn repeat off Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. This action is idempotent - setting the same repeat mode multiple times has the same effect as setting it once. Common scenarios: - Turn off repeat: {"state": "off"} - Repeat current track: {"state": "track"} - Repeat playlist/album: {"state": "context"} - Target specific device: {"state": "off", "device_id": "abc123"} Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found