Create Playlist and Add Tracks
A 2-step recipe with TIDAL. We can help you get access.
Recipe · 2 steps
Create Playlist and Add Tracks
with TIDAL
Create a playlist and add a track to it.
- Create a new playlist with the supplied name, access type, and description, returning the created playlist resource.
- Add the supplied track to the new playlist's items relationship using the JSON:API relationship add operation.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token with playlists.write scope.
- name: The display name for the new playlist.
- description: Optional description for the new playlist.
- accessType: Playlist access type, PUBLIC or UNLISTED.
- trackId: The catalog track id to add as the first playlist item.
- countryCode: ISO 3166-1 alpha-2 country code (e.g. US).
For your developer
Arazzo workflow tidal:create-playlist-and-add-tracks, 2 operations: {$sourceDescriptions.playlistsApi.url}#/paths/~1playlists/post → {$sourceDescriptions.playlistsApi.url}#/paths/~1playlists~1{id}~1relationships~1items/post. Specs on APIs.io.