collectionItemID

An identifier for a collection item to be added.

Depending on the item type, either id or name must be provided. For most types, id is the natural choice, but some types (e.g. Genre) don’t have it, so name should be used.

{
  "type": "song",
  "id": "20"
}
{
  "type": "album",
  "id": "30"
}
{
  "type": "genre",
  "name": "vaporwave"
}
FieldTypeReq.OpenS.Details
typestringYesOne of: song, album, artist, playlist
idstringNoID of the item, where applicable
namestringNoName of the item, where applicable
Last modified May 29, 2026: collections: add item types (58c865f)