Playlists
Add tracks to a static playlist
POST
https://api.tunio.ai/ v1/ playlists/ {playlist_id}/ itemsAppends tracks of the caller's library to the end of a static playlist of the account, in the order given. A track appears in the library once its upload (POST /v1/library/uploads) is completed. The same track may be added more than once.
Path parameters
| Name | Type | Description |
|---|---|---|
| playlist_idRequired | string | Playlist UUID |
Request body
Tracks to append
| Name | Type | Description |
|---|---|---|
| track_idsRequired | array | Tracks of the caller's library to append, in order, 1..100: track_id of completed library uploads. |
| [item]Required | string | - |
Request example
01{02 "track_ids": [03 "3f1d2a8e-6b7c-4d5e-9f0a-1b2c3d4e5f60"04 ]05}
Responses
| Name | Type | Description |
|---|---|---|
| added | integer | Number of entries appended. |
| success | boolean | Always true. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |