Skip to main content
POST
/
playlists
/
{id}
/
tracks
Insert tracks into the live queue
curl --request POST \
  --url http://localhost:6063/playlists/{id}/tracks \
  --header 'Content-Type: application/json' \
  --data '
{
  "tracks": [
    "<string>"
  ],
  "position": 123,
  "directory": "<string>"
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://rockboxzig.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Body

application/json
tracks
string[]
required
position
integer<int32>
required

0=Next, 1=After current, 2=Last, 3=First/replace, 7=LastShuffled

directory
string

Insert all audio files under this directory instead of an explicit list

Response

200 - text/plain

Insertion position or 0 (text)

The response is of type string.