Xc Api Playlist Link May 2026

XC API playlist link

// Validate XC credentials first const testUrl = `http://$xcServer:$xcPort/player_api.php?username=$xcUsername&password=$xcPassword&action=user_info`; const testResponse = await axios.get(testUrl);

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /api/playlist/generate | Generate new playlist link | | GET | /api/playlist/:linkId | Stream M3U playlist | | DELETE | /api/playlist/:linkId | Revoke link | | GET | /api/playlist/links | List all generated links for user | xc api playlist link

Conclusion

XC API Playlist

An feature allows users to log in using a Server URL , Username , and Password instead of a single long M3U link. XC API playlist link // Validate XC credentials

Most end-users require the M3U format. The syntax is as follows: const testResponse = await axios.get(testUrl)