Skip to main content
POST
/
playlists
/
commands
/
create
cURL
curl --request POST \
  --url https://api.example.com/playlists/commands/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "items": [
    {
      "title": "<string>",
      "src": "<string>"
    }
  ]
}
'
{
  "id": "<string>",
  "title": "<string>",
  "ownerId": "<string>",
  "items": [
    {
      "title": "<string>",
      "src": "<string>"
    }
  ]
}

Documentation Index

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

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

Body

application/json
title
string
required
items
object[]
required

Response

200 - application/json

create 200 response

Playlist data transfer object

id
string

Unique playlist identifier

title
string

Playlist title

ownerId
string

Owner user ID

items
object[]

List of playlist items