Skip to content
DocumentationAPI Reference

Transfer Playback

Me.Player.Transfer(PlayerTransferParamsparameters, CancellationTokencancellationToken = default)
PUT/me/player

Transfer playback to a new device and optionally begin playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.

ParametersExpand Collapse
PlayerTransferParams parameters
required IReadOnlyList<string> deviceIds

A JSON array containing the ID of the device on which playback should be started/transferred.
For example:{device_ids:["74ASZWbe4lXaubB36ztrGX"]}
Note: Although an array is accepted, only a single device_id is currently supported. Supplying more than one will return 400 Bad Request

Boolean play

true: ensure playback happens on new device.
false or not provided: keep the current playback state.

Boolean published

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

Transfer Playback

PlayerTransferParams parameters = new()
{
    DeviceIds =
    [
        "74ASZWbe4lXaubB36ztrGX"
    ],
};

await client.Me.Player.Transfer(parameters);
Returns Examples