v1

latestSwagger 2.02026-07-17372667.4 KB
post/users/{user_id}/playlists/{playlist_id}/tracks

Path parameters

user_idstring required

The user's Spotify user ID.

playlist_idstring required

The Spotify playlist ID.

Query parameters

positioninteger

The position to insert the tracks, a zero-based index

urisstring required

A comma-separated list of Spotify track URIs to add. A maximum of 100 tracks can be added in one request.

Headers

Acceptstring

It is used to set specified media type.

Response

OK

snapshot_idstring

The version identifier for the modified playlist. Can be supplied in other requests to target a specific playlist version.