createPlaylist

Creates a Spotify playlist for the current user.

Return

Wrapped Spotify API response with status code and parsed Spotify payload.

Parameters

body

Request payload object serialized for this endpoint.


Deprecated

Spotify recommends POST /v1/me/playlists. Use createPlaylist(body).

Replace with

createPlaylist(body)

Creates a Spotify playlist for the current user.

Return

Wrapped Spotify API response with status code and parsed Spotify payload.

Parameters

userId

Spotify user ID.

body

Request payload object serialized for this endpoint.