AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Playlist → Get Playlists

AI-generated

Summary

Fetch playlists for a station from the AzuraCast API

Inputs

  • path__getplaylists__station_id (required) — Identifies the station for this action; path parameter {station_id}. Choose a station name from the list or specify an ID via expression.
  • sendAdditionalHeaders — Whether to include extra HTTP headers in the request.
  • additionalHeaders — Additional HTTP headers to include as a JSON object, e.g., {"X-Trace-ID":"abc123"}
  • bodyModeOverride — How the request body is handled; options: Auto, Binary, JSON, Multipart Form-Data, None, Raw. Auto uses built‑in fields.
  • manualJsonBody — Manual request body as JSON, used when Body Mode Override is set to JSON.
  • manualRawBody — Manual request body as plain text, used when Body Mode Override is set to Raw.
  • manualInputDataFieldName — Input binary property name to read when sending binary or multipart payloads manually.
  • manualMultipartFileFieldName — Multipart file field name expected by the endpoint when using manual multipart mode.
  • manualMultipartFields — Additional multipart form fields as JSON when using manual multipart mode.
  • responseFormat — Choose how n8n parses the response: Auto, Binary, JSON, or Text.
  • binaryOutputProperty — Binary output property name used when Response Format is set to Binary.
  • returnFullResponse — Whether to return the full HTTP response, including headers and status code.
  • wrapResponseData — Whether to keep the response body in a single output item; disabled when Return Full Response is true.

Output shape

array of playlist objects

If returnFullResponse is true, the full HTTP response including headers and status is returned; otherwise only the parsed body is emitted. The response can be formatted as JSON, binary, text, or left as raw depending on responseFormat.

Examples

Example 1: Fetch playlists for a selected station using default settings

Select a station from the list, keep Body Mode Override on Auto, leave response format as Auto, and keep wrapResponseData enabled

Example 2: Get playlists by station ID and return binary data

Enter a station ID, set Body Mode Override to Auto, choose Response Format Binary, and keep default binaryOutputProperty

Example 3: Include custom tracing header and return full response

Enable Send Additional Headers, set Additional Headers to {"X-Trace-ID":"xyz"}, set Body Mode Override to JSON, and enable Return Full Response

Links

Discussion