GET /shared/playlists/{token}/preview-files/{preview_file_id}/download

Download a preview file (any extension) attached to the shared playlist as an attachment. Mirrors the authenticated /pictures/originals/preview-files/<id>/download route but gated by the playlist share token instead of JWT.

Path parameters

  • token string Required

    Share link token

  • preview_file_id string(uuid) Required

    Preview file unique identifier

Responses

  • 200 application/octet-stream

    Preview file downloaded as attachment

  • 403

    Preview file is not part of this shared playlist

  • 404

    Preview file not on disk

GET /shared/playlists/{token}/preview-files/{preview_file_id}/download
curl \
 --request GET 'http://api.example.com/shared/playlists/{token}/preview-files/{preview_file_id}/download' \
 --header "Authorization: $API_KEY"