Save Albums for Current User
Developing
PUT
/me/albums
category-library
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.spotify.com/v1/me/albums?ids=' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
{
"error": {
"message": "string",
"status": 0
}
}
Request
Query Params
ids
string
required
ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M
. Maximum: 50 IDs.Header Params
Authorization
string
required
Modification of the current user's "Your Music" collection requires authorization of the
user-library-modify
scope.Content-Type
string
optional
application/json
Body Params application/json
Responses
Modified at 2022-09-12 10:04:50