New Sharing Interface

Today we announce a better way to share sounds in SoundCloud via the API.

The new interface resembles the way sharing happens on the website. You can retrieve, create, update and delete sharings to other users on SoundCloud based on user_id or email address for your tracks and playlists.

The following new resource are available:

GET                    /tracks/{id}/shared-to
GET, POST, PUT, DELETE /tracks/{id}/shared-to/users
GET, POST, PUT, DELETE /tracks/{id}/shared-to/emails

GET                    /playlists/{id}/shared-to
GET, POST, PUT, DELETE /playlists/{id}/shared-to/users
GET, POST, PUT, DELETE /playlists/{id}/shared-to/emails

Also you can set the sharing state when you create or update a track/playlist.

Find the docs here for <%= linkto(‘tracks’, ’https://developers.soundcloud.com/docs/api/tracks#sharing’) %> and <%= linkto(‘playlists’, ’https://developers.soundcloud.com/docs/api/playlists#sharing’) %>.

This change deprecates the /tracks/{id}/permissions and POST /tracks/{id}/shared-to resources. Both still work, but are not recommended anymore.