Skip to the content
  1. API reference
  2. Read and write a user's library

Get playlist

GET/api/{integrationUserUUID}/playlists/{playlistId}
CoreAuthBasicDevTokenDocsSessionToken

This endpoint fetches specified playlist and returns information about it.

Path parameters

integrationUserUUID
uuidrequired

The connected user: the integrationUserUUID from the sign-in callback.

playlistId
stringrequired

ID of the playlist

Response

200application/json · Playlistok
name
string
required
id
string
required
totalItems
number | null
required
imageUrl
string | null
required
dateAdded
string | null
isOwner
boolean
required
Example answer
{
  "name": "Viva Playlist",
  "id": "1",
  "totalItems": 25,
  "imageUrl": "https://www.example-image.com/978263478234",
  "dateAdded": "2024-10-16T07:52:07.000Z",
  "isOwner": true
}

Errors

404

Your account has no connected user with this uuid, or the item does not exist.

412

The user must sign in again (IntegrationUserNotAuthenticated).

429

Too many requests. Wait for the seconds in Retry-After.