Logo

Docs

Playlists

Get a Playlist

Fetch a single playlist resource by id.

Endpoint

GET /playlists/{id}

Endpoint reference: getPlaylist

Use this endpoint when you already know the playlist id and want the canonical playlist resource.

What You Can Include

  • tracks

Path Parameters

NameDescriptionTypeExample
idPlaylist idstringplaylist_123

Query Parameters

Scoped parameters like view[...] and limit[...] can shape included relationships.

NameValuesRequired
langlocale stringfalse
includetracksfalse
viewminimalfalse
view[playlists]minimalfalse
view[songs]minimalfalse
limit[tracks]1-25false

Response Shape

Returns a single playlist resource wrapped in data.

  • full form: Playlist
  • minimal form: BasePlaylist

Responses

StatusContent TypeResponse
200 OKapplication/jsonPlaylistResponse
404 Not Foundapplication/jsonErrorResponse

On this page