Sonos uses createContainer to add a playlist. See Add playlists for details.

Request parameters

containerTypestringThe container type to add. Currently only supports playlist.
titlestringThe title of the playlist. No maximum length.
parentIdstring(255)(Optional) ID of the parent folder. If not provided, the playlist should be created at the root playlists node.
seedIdstring(255)(Optional) ID of the content to be added into the playlist upon creation. This can be a playlist, a track, or an album. If not provided, the action should create an empty playlist.


Include the response in a createContainerResult inside a createContainerResponse element.

idstring(255)The unique id of the newly created playlist.
updateIdstring(255)Future implementation. Can be used to handle editing collisions and data concurrency validation.

Sample request

<soap:Envelope xmlns:soap="">
    <createContainer xmlns="">
      <title>Party Rock</title>

Sample response

<soap:Envelope xmlns:soap="">
    <createContainerResponse xmlns="">
        <updateId />