Files
mintlify__docs/api-reference/player/toggle-playback-shuffle.mdx
Mintlify Agent 65fd3621dc Add Spotify Web API documentation
- Created 111 MDX documentation files
- Added 89 API endpoint pages across 14 categories
- Included 11 concept guides and 7 tutorials
- Configured Mintlify with Spotify branding (#1DB954)
- All pages validated successfully
2026-02-07 11:47:26 +00:00

59 lines
1.1 KiB
Plaintext

---
title: "Toggle Playback Shuffle"
description: "Toggle shuffle on or off for user's playback"
api: "PUT https://api.spotify.com/v1/me/player/shuffle"
---
# Toggle Playback Shuffle
Toggle shuffle on or off for user's playback
<Note>
This endpoint requires user authentication with the following scope(s): `user-modify-playback-state`
</Note>
## Endpoint
```
PUT https://api.spotify.com/v1/me/player/shuffle
```
## Request
### Headers
<ParamField header="Authorization" type="string" required>
Bearer token for authentication: `Bearer {access_token}`
</ParamField>
## Example request
```bash
curl -X PUT "https://api.spotify.com/v1/me/player/shuffle" \
-H "Authorization: Bearer {access_token}"
```
## Response
Returns JSON with the requested data.
### Example response
```json
{
// Response data
}
```
## Related endpoints
<CardGroup cols={2}>
<Card title="API Reference" href="/api-reference/overview">
View all endpoints
</Card>
<Card title="Authentication" href="/getting-started/authentication-flows">
Learn about authentication
</Card>
</CardGroup>