Tracks
Library

Save Tracks for Current User

Changed on

Save one or more tracks to the current user's 'Your Music' library.

Note: This endpoint is deprecated. Use Save Items to Library instead.

put/me/tracks

Request

  • Base URL
    https://api.spotify.com/v1
  • URL
    https://api.spotify.com/v1/me/tracks
  • Auth
    OAuth 2
    Authorization code: https://accounts.spotify.com/authorize
    Token URL: https://accounts.spotify.com/api/token scopes: user-library-modify

Request body

idsstring[]

A JSON array of the Spotify IDs. For example: ["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]<br/>A maximum of 50 items can be specified in one request. Note: if the timestamped_ids is present in the body, any IDs listed in the query parameters (deprecated) or the ids field in the body will be ignored.

Response

Track saved

Changes