Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Auto DJ > Playing Playlist → Generate Playlist

AI-generated

Summary

Generate a radio playlist by requesting the Infomaniak Auto DJ service.

Inputs

  • authentication — Authentication method for Infomaniak API (OAuth2 or API Key).
  • path_radio_product_id (required) — ID of the radio product whose playlist to generate.
  • path_station_id (required) — ID of the station for which the playlist is generated.
  • bodyParameters — Optional additional request body fields, such as forcing regeneration.
  • returnFullResponse — If true, the full API response is returned; otherwise only success/failure is indicated.

Output shape

a list of generated playlist items

The response may be empty if no tracks are found; pagination is not applicable.

Examples

Example 1: Generate a playlist for product ID 123 and station ID 45 using OAuth2.

authentication: oauth2; path_radio_product_id: 123; path_station_id: 45; bodyParameters: {}; returnFullResponse: false

Example 2: Force regeneration of a playlist for product 78 and station 9, returning full API response.

authentication: oauth2; path_radio_product_id: 78; path_station_id: 9; bodyParameters: {body_force: true}; returnFullResponse: true

Example 3: Use API Key authentication for product 100 and station 200 without extra body, default return.

authentication: apiKey; path_radio_product_id: 100; path_station_id: 200; bodyParameters: {}; returnFullResponse: false

Links

Discussion