<linkrel="alternate"type="application/rss+xml"href="/SpotifyAPI-NET/news/rss.xml"title="SpotifyAPI-NET Blog RSS Feed">
<linkrel="alternate"type="application/atom+xml"href="/SpotifyAPI-NET/news/atom.xml"title="SpotifyAPI-NET Blog Atom Feed"><titledata-react-helmet="true">Playlists | SpotifyAPI-NET</title><metadata-react-helmet="true"property="og:url"content="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/web/playlists"><metadata-react-helmet="true"name="docusaurus_locale"content="en"><metadata-react-helmet="true"name="docusaurus_version"content="5.1.1"><metadata-react-helmet="true"name="docusaurus_tag"content="docs-default-5.1.1"><metadata-react-helmet="true"property="og:title"content="Playlists | SpotifyAPI-NET"><metadata-react-helmet="true"name="description"content="GetUserPlaylists"><metadata-react-helmet="true"property="og:description"content="GetUserPlaylists"><linkdata-react-helmet="true"rel="shortcut icon"href="/SpotifyAPI-NET/img/favicon.ico"><linkdata-react-helmet="true"rel="canonical"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/web/playlists"><linkdata-react-helmet="true"rel="alternate"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/web/playlists"hreflang="en"><linkdata-react-helmet="true"rel="alternate"href="https://johnnycrazy.github.io/SpotifyAPI-NET/docs/5.1.1/web/playlists"hreflang="x-default"><linkrel="stylesheet"href="/SpotifyAPI-NET/assets/css/styles.fa980c59.css">
More Info: <ahref="https://developer.spotify.com/web-api/reorder-playlists-tracks/"target="_blank"rel="noopener noreferrer">Reorder-Playlist</a></p></blockquote><p><strong>Parameters</strong></p><table><thead><tr><th>Name</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>userId</td><td>The user's Spotify user ID.</td><td><code>"1122095781"</code></td></tr><tr><td>playlistId</td><td>The Spotify ID for the playlist.</td><td><code>"1TtEejT1y4D1WmcOnLfha2"</code></td></tr><tr><td>rangeStart</td><td>The position of the first track to be reordered.</td><td><code>2</code></td></tr><tr><td>insertBefore</td><td>The position where the tracks should be inserted.</td><td><code>0</code></td></tr><tr><td>[rangeLength]</td><td>The amount of tracks to be reordered. Defaults to 1 if not set.</td><td><code>2</code></td></tr><tr><td>[snapshotId]</td><td>The playlist's snapshot ID against which you want to make the changes.</td><td>``</td></tr></tbody></table><p>Returns a <code>Snapshot</code>-Object which contains the property <code>String SnapshotId</code></p><p><strong>Usage</strong></p><divclass="codeBlockContainer_K1bP"><divclass="codeBlockContent_hGly csharp"><divtabindex="0"class="prism-code language-csharp codeBlock_23N8 thin-scrollbar"><divclass="codeBlockLines_39YC"style="color:#bfc7d5;background-color:#292d3e"><divclass="token-line"style="color:#bfc7d5"><spanclass="token plain">Snapshot snapshot = _spotify.ReorderPlaylist("1122095781", "1TtEejT1y4D1WmcOnLfha2", 2, 0, 2);</span></div><divclass="token-line"style="color:#bfc7d5"><spanclass="token plain">Console.WriteLine("New SnapshotId: " + snapshot.SnapshotId);</span></div></div></div><buttontype="button"aria-label="Copy code to clipboard"class="copyButton_Ue-o">Copy</button></div></div><hr></div></article><divclass="margin-vert--xl"><divclass="row"><divclass="col"><ahref="https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/versioned_docs/version-5.1.1/web/playlists.md"target="_blank"rel="noreferrer noopener"><svgfill="currentColor"height="1.2em"width="1.2em"preserveAspectRatio="xMidYMid meet"role="img"viewBox="0 0 40 40"class="iconEdit_2_ui"aria-label="Edit page"><g><pathd="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><divclass="col text--right"><em><small>Last updated on <timedatetime="2021-04-15T15:25:36.000Z"class="lastUpdatedDate_1WI_">4/15/2021</time> by <strong>Jonas Dellinger</strong></small></em></div></div></div><divclass="margin-vert--lg"><navclass="pagination-nav"aria-label="Docs pages navigation"><divclass="pagination-nav__item"><aclass="pagination-nav__link"href="/SpotifyAPI-NET/docs/5.1.1/web/player"><divclass="pagination-nav__sublabel">Previous</div><divclass="pagination-nav__label">« Player</div></a></div><divclass="pagination-nav__item pagination-nav__item--next"><aclass="pagination-nav__link"href="/SpotifyAPI-NET/docs/5.1.1/web/profiles"><divclass="pagination-nav__sublabel">Next</div><divclass="pagination-nav__label">Profiles »</div></a></div></nav></div></div></div><divclass="col col--3"><divclass="tableOfContents_35-E thin-scrollbar"><ulclass="table-of-contents table-of-contents__left-border"><li><ahref="#getuserplaylists"class="table-of-contents__link">GetUserPlaylists</a></li><li><ahref="#getplaylist"class="table-of-contents__link">GetPlaylist</a></li><li><ahref="#getplaylisttracks"class="table-of-contents__link">GetPlaylistTracks</a></li><li><ahref="#createplaylist"class="table-of-contents__link">CreatePlaylist</a></li><li><ahref="#updateplaylist"class="table-of-contents__link">UpdatePlaylist</a></li><li><ahref="#replaceplaylisttracks"class="table-of-contents__link">ReplacePlaylistTracks</a></li><li><ahref="#removeplaylisttracks"class="table-of-contents__link">RemovePlaylistTracks</a></li><li><ahref="#removeplaylisttrack"class="table-of-contents__link">R