AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Remote Relay → Create Relay

AI-generated

Summary

Creates a new remote relay for a station in AzuraCast.

Inputs

  • path__addrelay__station_id (required) — Identifies the station for this action. Path parameter: {station_id} Choose a name from the list, or specify an ID using an expression.
  • admin_password — Optional body field
  • autodj_bitrate — Optional body field
  • autodj_format — Optional body field
  • custom_listen_url — Optional body field
  • display_name — Optional body field
  • enable_autodj — Optional body field
  • is_public — Optional body field
  • is_visible_on_public_pages — Optional body field
  • listeners_total — The most recent number of total (non-unique) listeners | Optional body field
  • listeners_unique — The most recent number of unique listeners | Optional body field
  • mount — Optional body field
  • source_mount — Optional body field
  • source_password — Optional body field
  • source_port — Optional body field
  • source_username — Optional body field
  • type — Optional body field
  • url — Optional body field
  • sendAdditionalHeaders — Whether to include extra HTTP headers in this request
  • additionalHeaders — Provide additional HTTP headers as a JSON object, for example {"X-Trace-ID":"abc123"}
  • bodyModeOverride — Auto uses the built-in fields for this action. Override only when you need to send the request body manually.
  • manualJsonBody — Manual request body as JSON. Used only when Body Mode Override is set to JSON.
  • manualRawBody — Manual request body as plain text. Used only when Body Mode Override is set to Raw.
  • manualBinaryBodyProperty — 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 should parse the response returned by AzuraCast
  • 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. Disable to split array responses into multiple items.

Output shape

a single relay object representing the newly created relay

If Return Full Response is enabled the full HTTP response (headers, status code) is returned; otherwise only the parsed response body. The response is wrapped in one output item unless Wrap Response Data is disabled.

Examples

Example 1: Create a new relay for a station using default optional fields

station_id: selectedStation, type: shoutcast1

Example 2: Create a relay with custom body fields and request full HTTP response

station_id: $stationId, admin_password: $pwd, type: azurarelay, responseFormat: json, returnFullResponse: true

Example 3: Create a relay using multipart form data with custom file field

station_id: $stationId, type: shoutcast2, bodyModeOverride: multipart, manualMultipartFileFieldName: file, manualMultipartFields: {"extra":"value"}

Links

Discussion