2
votes

I have the API connected and am able to upload tracks, but I haven't found anywhere that references the ability to replace an uploaded track from the API. It's available as a button on the admin of soundcloud.com, but is there any way to do it from the API?

1
If you have a pro account, this does seem to be possible: stackoverflow.com/questions/18812996/… - Andrew Kuklewicz

1 Answers

4
votes

If you'd like to replace the audio for a track, you would need to delete and then re-create it. If you give the track the same title, it should get the same permalink if that's what you're after.

Deleting and recreating a track would involve sending a DELETE request to the /tracks/{track_id} endpoint followed by a POST request to the /me/tracks endpoint with the tracks[asset_data] and tracks[title] parameters at a minimum.