Playlist
RequiredTextSpotify ID of the playlist.
This input offers a picker for playlist from your connected account. You can also supply its value directly.
3cEYpjA9oz9GiPac4AsH4n
Append tracks or episodes to a playlist.
First, connect Spotify in Services. Then open Actions → + → Spotify and choose Add Items to Playlist.
Running or testing this action creates something in your connected service.
Answers 201 with a `snapshot_id` — a version marker for the playlist, useful if a later shortcut removes exactly what this one added.
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.
Spotify ID of the playlist.
This input offers a picker for playlist from your connected account. You can also supply its value directly.
3cEYpjA9oz9GiPac4AsH4n
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.
spotify:track:0eGsygTp906u18L0Oimnem
Zero-based. Left unset, items are appended.
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 field | Type | Meaning |
|---|---|---|
snapshot_id | string | The playlist's new version. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
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.
| Input | Request key | Location |
|---|---|---|
| Playlist | playlist_id | path |
| Item URIs | uris | body |
| Insert At | position | body |