In this guide

Add Items to Playlist

Append tracks or episodes to a playlist.

Action referenceCreate

What this action does #

First, connect Spotify in Services. Then open Actions → + → Spotify and choose Add Items to Playlist.

What a run does

Running or testing this action creates something in your connected service.

More about this action

Answers 201 with a `snapshot_id` — a version marker for the playlist, useful if a later shortcut removes exactly what this one added.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Playlist

RequiredText

Spotify ID of the playlist.

This input offers a picker for playlist from your connected account. You can also supply its value directly.

Example value (replace with your own):
3cEYpjA9oz9GiPac4AsH4n

Item URIs

RequiredList

Up to 100 track or episode URIs.

A list of text values.

This input offers a picker for track from your connected account. You can also supply its value directly.

Example value (replace with your own):
spotify:track:0eGsygTp906u18L0Oimnem

Insert At

OptionalWhole number

Zero-based. Left unset, items are appended.

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
snapshot_idstringThe playlist's new version.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: POST https://api.spotify.com/v1/playlists/{playlist_id}/tracks

Action identifier: spotify.playlist.items.add.v1

Permissions declared for this action: playlist-modify-public, playlist-modify-private. The account’s own access rules also apply.

InputRequest keyLocation
Playlistplaylist_idpath
Item URIsurisbody
Insert Atpositionbody

Spotify API reference