Actions263
- Administration Backup Actions
- Administration Custom Field Actions
- Administration Debugging Actions
- Administration General Actions
- Create API Key
- Delete API Key
- Delete Custom Asset
- Delete Rsas
- Delete Rsas License
- Delete Shoutcast
- Delete Stereo Tool
- Get Auditlog
- Get Custom Asset
- Get Geo Lite
- Get Many API Keys
- Get Many Logs
- Get Relay Details
- Get Relays
- Get Rsas
- Get Server Stats
- Get Service Details
- Get Shoutcast
- Get Status
- Get Stereo Tool
- Restart Service
- Run Custom Asset
- Run Geo Lite
- Run Rsas
- Run Rsas License
- Run Shoutcast
- Run Stereo Tool
- Send Test Email
- Update Generate Acme Cert
- Update Web
- View ACME Log
- View Log
- Administration Role Actions
- Administration Settings Actions
- Administration Station Actions
- Administration Storage Location Actions
- Administration User Actions
- Miscellaneous Actions
- My Account Actions
- Public Miscellaneous Actions
- Public Now Playing Actions
- Public Station Actions
- Station Broadcasting Actions
- Station General Actions
- Station HLS Stream Actions
- Station Media Actions
- Create File
- Delete Art
- Delete File
- Download Bulk Media
- Download File
- Get File
- Get File Directories
- Get Files
- Get Many Station File
- Get Play File
- Get Play File Song ID
- Get Waveform
- Run Art
- Run Bulk Media Preview
- Run Files Mkdir
- Run Files Rename
- Run Waveform
- Update File
- Update File Batch Action
- Upload Bulk Media
- Upload File
- Station Mount Point Actions
- Station Playlist Actions
- Station Podcast Actions
- Station Queue Actions
- Station Remote Relay Actions
- Station Report Actions
- Station SFTP User Actions
- Station Streamer/DJ Actions
- Station Web Hook Actions
Station Media → Create File
AI-generatedSummary
Create a media file for a station
Inputs
- path__addfile__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.
- body_required__addfile__file (required) — The base64-encoded contents of the file to upload | Required body field: file
- body_required__addfile__path (required) — The destination path of the uploaded file | Required body field: path
- 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 file record representing the newly created media asset
The response contains the created file's details; on error an error envelope is returned. Optional pagination may occur if multiple files are returned.
Examples
Example 1: Upload a logo to a station
Set Station Name or ID via list, provide base64 file, set Path to "/logos/logo.png", keep defaults for other options
Example 2: Upload a PDF with custom headers
Enable Send Additional Headers, add {"X-My-Header":"value"}, set Body Mode Override to Multipart Form-Data
Example 3: Return full response for debugging
Set Response Format to JSON, enable Return Full Response, use default output field name