Xc | Api Playlist Link
GET /v1/playlists/123e4567 HTTP/1.1
Host: api.xc.example.com
Authorization: Bearer <access_token>
Accept: application/json
http://SERVER_URL:PORT/player_api.php?username=YOUR_USER&password=YOUR_PASS
This returns a JSON object containing your user status, expiration date, and server time. From here, you can fetch specific data:
This is the "xc api playlist link" in action for the end user. The friend clicks the link myapp.com/playlist/xc_4j9s2. The frontend hits the API to fetch the songs. xc api playlist link
GET /api/v1/playlists/share/share_token
Crucial Distinction: This endpoint must not require authentication. It is a public route. It should return the playlist title, track list, and metadata, but it should strip out sensitive user data (like the owner's email address). GET /v1/playlists/123e4567 HTTP/1
