---
updatedAt: 2026-06-01T16:41:25.000Z
agentTools:
  projectIndex: https://docs.sonos.com/llms.txt
---

# loadPlaylist

The loadPlaylist command activates a playlist within the default playback session. This command interrupts any active private playback sessions. Sonos adds tracks from the playlist to the queue and activates the queue. This prevents your app from overwriting user-curated queues.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "version": "v1.57.0-alpha.5-2-g3f75f144-production-cloud",
    "title": "Sonos Control API (cloud)",
    "description": "The Sonos Control API is the primary means by which your application will interact with Sonos groups. First, discover available groups and players. Then use Control API commands to control players. For example, perform basic transport control such as play, pause, or skip. Or subscribe to receive events from the player, like track metadata.<p>The control API defines commands and asynchronous events. Events are documented as Webhooks due to limitations of the OAS spec.</p>",
    "termsOfService": "https://developer.sonos.com/legal/terms-of-service",
    "x-logo": {
      "url": "Sonos-Logo.png"
    }
  },
  "x-a127-services": {
    "add-x-sonos-headers": {
      "provider": "x-headers",
      "apply": {
        "pipe": "request",
        "endPoint": "target"
      },
      "options": {
        "ignoreUnresolvedVariables": true,
        "displayName": "Add_X-Sonos_Headers",
        "headers": {
          "x-sonos-muse-permissions": {
            "type": "string",
            "default": "{authz_response.permissions}",
            "description": "x-sonos-muse-permissions header"
          },
          "x-sonos-api-key": {
            "type": "string",
            "default": "{client_id}",
            "description": "x-sonos-api-key header"
          },
          "x-sonos-user-id": {
            "type": "string",
            "default": "{app_enduser}",
            "description": "x-sonos-user-id header"
          }
        }
      }
    },
    "base-apply-restrictions": {
      "provider": "apply-restrictions",
      "apply": {
        "pipe": "request",
        "endPoint": "proxy"
      },
      "options": {
        "displayName": "AR_BaseMuseRestrictions",
        "restrictionRules": {
          "allow": true
        },
        "parameters": [
          {
            "name": "oauth_only",
            "value": true
          }
        ]
      }
    },
    "x-muse-permissions": {
      "provider": "apply-restrictions",
      "options": {
        "displayName": "AR_AuthZPermissions",
        "restrictionRules": {
          "allow": true,
          "checkAll": true,
          "rules": [
            {
              "condition": "exists",
              "ref": "authz_response.permissions"
            }
          ],
          "e_reason": "Missing or invalid permissions"
        },
        "parameters": [
          {
            "name": "authz",
            "value": true
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "{protocol}://api.ws.sonos.com/control/api/{version}",
      "description": "Sonos Experience",
      "variables": {
        "version": {
          "description": "MUSE API major version",
          "default": "v1",
          "enum": [
            "v1"
          ]
        },
        "protocol": {
          "description": "connection protocol",
          "default": "https",
          "enum": [
            "https"
          ]
        }
      }
    }
  ],
  "x-sonos-targets": [
    {
      "name": "default",
      "server": "muse-backend-apigee-origin-d1"
    }
  ],
  "tags": [
    {
      "name": "playlists",
      "description": "The playlists namespace enables your app or hardware integration to enumerate the list of Sonos playlists in a household and load one to start playback.\n\n Listeners create Sonos playlists in the Sonos app. Sonos playlists can include tracks or playlists from multiple content services. The Sonos app displays playlists in a swimlane in My Sonos. It also adds favorited playlists to this swimlane.\n\n Note: As a best practice, use the favorites and playlists namespaces together if you use them. The Sonos app combines the results of these two namespaces in different swimlanes. If you don’t use these together, users may think some of their content is missing in your integration.",
      "x-muse-namespace-permissions": [
        {
          "name": "read",
          "bit": "0"
        },
        {
          "name": "write",
          "bit": "1"
        },
        {
          "name": "load",
          "bit": "2"
        }
      ],
      "x-muse-namespace-events": [
        {
          "x-muse-event-name": "playlistsVersionChange",
          "x-muse-since-version": "1.8.0",
          "$ref": "#/components/schemas/versionChanged"
        }
      ],
      "x-muse-since-version": "1.8.0"
    }
  ],
  "paths": {
    "/groups/{groupId}/playlists": {
      "post": {
        "operationId": "Playlists-LoadPlaylist-GroupId",
        "description": "The loadPlaylist command activates a playlist within the default playback session. This command interrupts any active private playback sessions. Sonos adds tracks from the playlist to the queue and activates the queue. This prevents your app from overwriting user-curated queues.",
        "summary": "loadPlaylist",
        "tags": [
          "playlists"
        ],
        "responses": {
          "200": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "OK"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ok"
                }
              }
            }
          },
          "400": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_INVALID_OBJECT_ID",
              "ERROR_INVALID_SYNTAX",
              "ERROR_MISSING_PARAMETERS"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/globalError"
                }
              }
            }
          },
          "401": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_NOT_AUTHORIZED"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/globalError"
                }
              }
            }
          },
          "403": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_NO_PERMISSION"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/globalError"
                }
              }
            }
          },
          "404": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_GROUP_CHANGED",
              "ERROR_UNSUPPORTED_NAMESPACE",
              "ERROR_CMD_FUTURE"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/groupCoordinatorChanged"
                    },
                    {
                      "$ref": "#/components/schemas/globalError"
                    }
                  ],
                  "discriminator": {
                    "propertyName": "_objectType",
                    "mapping": {
                      "globalError": "#/components/schemas/globalError",
                      "groupCoordinatorChanged": "#/components/schemas/groupCoordinatorChanged"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_COMMAND_FAILED",
              "ERROR_QUEUE_FULL",
              "ERROR_NYI"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/globalError"
                }
              }
            }
          },
          "500": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_INTERNAL"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/globalError"
                }
              }
            }
          },
          "503": {
            "description": "See the x-muse-error-codes extension for a list of muse errors that generate this response",
            "x-muse-error-codes": [
              "ERROR_SERVICE_UNAVAILABLE"
            ],
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/globalError"
                }
              }
            }
          }
        },
        "security": [
          {
            "LegacyCloudOAuth2": [
              "playback-control-all"
            ],
            "BearerAuth": [],
            "ApiKeyAuth": []
          }
        ],
        "x-muse-permissions": [
          "load"
        ],
        "x-muse-since-version": "1.8.0",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "title": "Playlists-LoadPlaylistBody",
                "type": "object",
                "properties": {
                  "playlistId": {
                    "type": "string",
                    "maxLength": 36,
                    "description": "The identifier of the playlist. You can find this in the playlistsList object in the getPlaylists response.",
                    "x-muse-since-version": "1.8.0"
                  },
                  "action": {
                    "nullable": true,
                    "description": "(Optional) Controls how the the player inserts the playlist into the shared queue, such as APPEND, INSERT, INSERT_NEXT, or REPLACE. If omitted, defaults to append.",
                    "x-muse-since-version": "1.8.0",
                    "$ref": "#/components/schemas/queueAction"
                  },
                  "playModes": {
                    "nullable": true,
                    "description": "(Optional) Defines the functionality of one or more play modes. You can set these to customize shuffle, repeat, repeat-one and crossfade.",
                    "x-muse-since-version": "1.8.0",
                    "$ref": "#/components/schemas/playMode"
                  },
                  "playOnCompletion": {
                    "type": "boolean",
                    "description": "(Optional) If true, the player automatically starts playback. If false or not provided, the player remains in the PLAYBACK_IDLE state.",
                    "x-muse-since-version": "1.8.0",
                    "nullable": true
                  }
                },
                "required": [
                  "playlistId"
                ]
              }
            }
          }
        }
      },
      "parameters": [
        {
          "in": "path",
          "name": "groupId",
          "description": "Target groupId",
          "required": true,
          "schema": {
            "type": "string"
          },
          "x-muse-since-version": "1.8.0"
        },
        {
          "in": "header",
          "name": "X-Sonos-Api-Key",
          "description": "Client API Key for the integration. Required in V1 but deprecated in V2.",
          "required": false,
          "schema": {
            "type": "string",
            "format": "uuid"
          },
          "x-muse-since-version": "1.0.0",
          "deprecated": true,
          "x-muse-deprecated-version": "2.0.0",
          "x-muse-removed-version": "2.0.0"
        },
        {
          "in": "header",
          "name": "X-Sonos-Corr-Id",
          "description": "Correlation UUID for data tracking purposes",
          "required": false,
          "schema": {
            "type": "string",
            "format": "uuid"
          },
          "x-muse-since-version": "1.8.0"
        }
      ],
      "description": "The playlists namespace enables your app or hardware integration to enumerate the list of Sonos playlists in a household and load one to start playback.\n\n Listeners create Sonos playlists in the Sonos app. Sonos playlists can include tracks or playlists from multiple content services. The Sonos app displays playlists in a swimlane in My Sonos. It also adds favorited playlists to this swimlane.\n\n Note: As a best practice, use the favorites and playlists namespaces together if you use them. The Sonos app combines the results of these two namespaces in different swimlanes. If you don’t use these together, users may think some of their content is missing in your integration."
    }
  },
  "x-webhooks": {
    "audioClip:audioClipStatus": {
      "post": {
        "summary": "audioClipStatus",
        "description": "Sonos players event an audioClipStatus type in the audioClip namespace whenever it schedules, executes, or dismisses a clip. Subscribers to this namespace receive events for all audio clips, not just those loaded by the subscriber.",
        "operationId": "audioClip_audioClipStatus",
        "tags": [
          "audioClip"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/audioClipStatus"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "favorites:favoritesVersionChange": {
      "post": {
        "summary": "favoritesVersionChange",
        "description": "No description available",
        "operationId": "favorites_favoritesVersionChange",
        "tags": [
          "favorites"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/versionChanged"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "global:groupCoordinatorChanged": {
      "post": {
        "summary": "groupCoordinatorChanged",
        "description": "No description available",
        "operationId": "global_groupCoordinatorChanged",
        "tags": [
          "global"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/groupCoordinatorChanged"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "groups:groups": {
      "post": {
        "summary": "groups",
        "description": "The groups object in the groups namespace describes the current set of logical players and\n groups in the household. Use the getGroups command to get a groups object.",
        "operationId": "groups_groups",
        "tags": [
          "groups"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/groups"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "groupVolume:groupVolume": {
      "post": {
        "summary": "groupVolume",
        "description": "The groupVolume event in the groupVolume namespace indicates changes to group volume, the group mute state and whether the group volume is fixed or can be changed.\n\n When your app subscribes to the groupVolume namespace and receives this event, it can update its user interface to reflect the latest group volume and group mute state. For example, if a user configures a CONNECT to have a fixed line-out volume, your app will receive a groupVolume event with the fixed parameter value of true. Your app should then disable its volume slider so users know that volume adjustments are not permitted.\n\n Your app can expect to receive one or multiple groupVolume events associated with a single setVolume command. This is because the individual player volume changes become effective at different times, and groupVolume events may or may not be generated for each of the individual player volume changes. Your app is guaranteed to receive a final groupVolume event when all individual player volume changes are stable. See setVolume for more information on how group volume works.\n\n The group mute state is independent of the group volume value, so your app can have a separate mute button and update its state based on the muted parameter in the groupVolume event. The group coordinator also calculates the group mute state by taking into account all the individual player mute states. If all of the players in a group are muted, the muted state for the group is true. If at least one player in a group is not muted then the muted state for the group is false. See setMute for more information on the group mute state.",
        "operationId": "groupVolume_groupVolume",
        "tags": [
          "groupVolume"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/groupVolume"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playback:playbackStatus": {
      "post": {
        "summary": "playbackStatus",
        "description": "The playbackStatus type in the playback namespace indicates changes to the group playback state, such as idle, buffering, paused, or playing, and the current playback position in the track. If the audio source is a cloud queue, this event also provides information about the cloud queue source, like the queueVersion and the current item’s itemId. It also can provide playback policies and modes. This object type can be a response to a command or an asynchronous event sent to apps subscribed to the playback namespace.\n\n The initial state of a group after startup is PLAYBACK_STATE_IDLE. When a user starts playing audio on a group, it transitions to PLAYBACK_STATE_BUFFERING and PLAYBACK_STATE_PLAYING, or it may skip the buffering state and go straight to playing. Depending on the audio source, pausing playback may cause the group to go to either PLAYBACK_STATE_PAUSED or PLAYBACK_STATE_IDLE. For example, streaming audio sources, such as Internet radio stations, will be in PLAYBACK_STATE_IDLE when paused. A group can also transition to PLAYBACK_STATE_IDLE after a playback error occurs.\n\n Your app will only be notified of changes to the current track position that result from any user action to seek to a new track position, a new track starting or the last track ending, or a playback error. If a track is playing normally on a group, your app will not receive playbackStatus events while the track position progresses without errors. If your app has a progress bar, you should update it with a local timer when playing normally.\n\n You will receive the item ID and offset position for the current item as well as for the previous item. For example, when a user skips from one track to another, you’ll receive the previousItemId and previousPositionMillis for the previous track, as well as the itemId and positionMillis for the currently playing track. If the user pauses the currently playing track, the previous track and position will be the same as the currently playing track and position. If the user seeks within the same track, the previous track will be the same as the currently playing track, but the position will be different.",
        "operationId": "playback_playbackStatus",
        "tags": [
          "playback"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/playbackStatus"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playback:playbackError": {
      "post": {
        "summary": "playbackError",
        "description": "The playbackError event in the playback namespace indicates playback errors on the group, such as a media server timing out, or when there’s no content loaded on the player.\n\n Most playback errors occur when the player requests audio from the media server and the request fails. Your app can use the errorCode to handle specific types of errors, and log the reason string for debugging the error.\n\n If a cloud queue is loaded as the audio source on a group, your app can also receive playbackError events on cloud queue server request errors. Your app will also receive the itemId of the cloud queue track that caused the error. Players communicate in the background with the cloud queue server to retrieve new tracks when needed. See Play audio for more details.",
        "operationId": "playback_playbackError",
        "tags": [
          "playback"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/playbackError"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playbackMetadata:playbackMetadataStatus": {
      "post": {
        "summary": "playbackMetadataStatus",
        "description": "A notification of changes to the metadata for the currently playing track and the next track, if available.",
        "operationId": "playbackMetadata_playbackMetadataStatus",
        "tags": [
          "playbackMetadata"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/metadataStatus"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playbackSession:sessionError": {
      "post": {
        "summary": "sessionError",
        "description": "The sessionError event in the playbackSession namespace indicates the session error status, such as failures to join and evictions.",
        "operationId": "playbackSession_sessionError",
        "tags": [
          "playbackSession"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sessionError"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playbackSession:sessionInfo": {
      "post": {
        "summary": "sessionInfo",
        "description": "The sessionInfo event in the playbackSession namespace indicates whether a specified session is suspended or not. Players send this event when they go in or out of a suspended state. This event is also delivered upon initially subscribing to a playbackSession.\n\n When an action causes a playbackSession to be suspended, players deliver a suspended value of true to indicate this transition.",
        "operationId": "playbackSession_sessionInfo",
        "tags": [
          "playbackSession"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sessionInfo"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playerVolume:playerVolume": {
      "post": {
        "summary": "playerVolume",
        "description": "The playerVolume event in the playerVolume namespace indicates changes to the volume for a player, the mute state for the player and whether the player volume is fixed or can be changed.\n\n When your app subscribes to the playerVolume namespace and receives this event, it can update its user interface to reflect the latest player volume and player mute state. For example, if a user configures a CONNECT to have a fixed line-out volume, your app will receive a playerVolume event with the fixed parameter value of true. Your app should then disable its volume slider so users know that volume adjustments are not permitted.",
        "operationId": "playerVolume_playerVolume",
        "tags": [
          "playerVolume"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/playerVolume"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    },
    "playlists:playlistsVersionChange": {
      "post": {
        "summary": "playlistsVersionChange",
        "description": "No description available",
        "operationId": "playlists_playlistsVersionChange",
        "tags": [
          "playlists"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/versionChanged"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "event successfully processed"
          },
          "403": {
            "description": "The event handler endpoint is Forbidden. The event source MAY stop sending events to the endpoint after receiving this error."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "globalError": {
        "x-muse-object-type": "dataType",
        "type": "object",
        "description": "Players use the globalError object type for command responses that include generic errors that apply to commands in all namespaces in the Control API. Players send an errorCode and reason in the body, as well as a success value of false in the response header.\n\n The reason values are readable strings that describe syntax and parameter errors. These strings are not intended for end-user display or for use programmatically.",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "The particular error that occurred.",
            "default": "ERROR_COMMAND_FAILED",
            "x-muse-since-version": "1.0.0"
          },
          "reason": {
            "type": "string",
            "maxLength": 256,
            "description": "(Optional) A message, if present, indicating more information about the error, to aid in diagnosing problems. Reason strings are not meant for end-user display but are useful in development or error logs.",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          }
        },
        "x-muse-since-version": "1.0.0"
      },
      "groupCoordinatorChanged": {
        "x-muse-object-type": "event",
        "type": "object",
        "description": "No description available",
        "properties": {
          "groupStatus": {
            "description": "No description available",
            "x-muse-since-version": "1.0.0",
            "$ref": "#/components/schemas/groupStatusCodes"
          },
          "groupName": {
            "type": "string",
            "maxLength": 64,
            "description": "No description available",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          },
          "websocketUrl": {
            "type": "string",
            "maxLength": 66,
            "description": "No description available",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          },
          "playerId": {
            "type": "string",
            "maxLength": 24,
            "description": "No description available",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          }
        },
        "required": [
          "groupStatus"
        ],
        "x-muse-since-version": "1.0.0"
      },
      "groupStatusCodes": {
        "x-muse-object-type": "enum",
        "type": "string",
        "description": "No description available",
        "enum": [
          "GROUP_STATUS_GONE",
          "GROUP_STATUS_MOVED",
          "GROUP_STATUS_UPDATED"
        ],
        "x-muse-since-version": "1.0.0"
      },
      "ok": {
        "x-muse-object-type": "dataType",
        "type": "object",
        "description": "This object represents an empty (default) success. The platform returns\n an empty object ({}).",
        "properties": {},
        "x-muse-since-version": "1.0.0"
      },
      "playMode": {
        "x-muse-object-type": "dataType",
        "type": "object",
        "description": "This argument only applies to content that uses the shared queue.\n\n If playModes.shuffle is null or omitted, the current shuffle mode of the player will be retained\n and respected.\n\n If playModes.shuffle is true, the new tracks will be shuffled when added to the shared\n queue. The shared queue's shuffle mode will be turned on if it is not already on.\n\n If playModes.shuffle is false, the shuffle mode on the player will be turned off and\n the tracks will be added in their normal order.\n\n This applies for each of the play modes individually, which are not mutually exclusive with each other.",
        "properties": {
          "repeat": {
            "type": "boolean",
            "description": "Repeat tracks. When playback reaches the end of the current queue of tracks, playback will wrap around and continue from the beginning of the queue.",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          },
          "repeatOne": {
            "type": "boolean",
            "description": "Repeat the current track indefinitely until this mode is disabled or your app explicitly changes the playhead position to a different track, for example, by skipping to the next track, a previous track, or a specific track in a cloud queue.",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          },
          "shuffle": {
            "type": "boolean",
            "description": "Play the tracks in the queue in a randomly shuffled order.",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          },
          "crossfade": {
            "type": "boolean",
            "description": "Fade out and mix the end of a track with the start of the next track as it is being faded in, creating a crossfade effect.",
            "x-muse-since-version": "1.0.0",
            "nullable": true
          }
        },
        "x-muse-since-version": "1.0.0"
      },
      "queueAction": {
        "x-muse-object-type": "enum",
        "type": "string",
        "description": "No description available",
        "enum": [
          "REPLACE",
          "APPEND",
          "INSERT",
          "INSERT_NEXT",
          "PLAY_NOW"
        ],
        "x-muse-since-version": "1.0.0"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Sonos-Api-Key"
      },
      "LegacyCloudOAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://api.sonos.com/login/v3/oauth",
            "tokenUrl": "https://api.sonos.com/login/v3/oauth/access",
            "refreshUrl": "https://api.sonos.com/login/v3/oauth/access",
            "scopes": {
              "playback-control-all": "Grants playback control"
            }
          }
        }
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Random string access token (sample: Bearer 4NFaXYpulWapPTDIxuLGLlxOOfZ9)",
        "description": "Used to accept oauth2 tokens"
      }
    }
  }
}
```