AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Web Hook → Create Webhook

AI-generated

Summary

Create a webhook for a station in AzuraCast.

Inputs

  • station_id (required) — Station identifier (name from list or numeric ID) defining which station the webhook belongs to.
  • optional_body_fields — Optional fields to include in the webhook request body such as configuration, enabled status, name, triggers, type, etc.
  • sendAdditionalHeaders — Whether to include extra HTTP headers in the request.
  • additionalHeaders — JSON object containing extra HTTP headers to send with the request.
  • bodyModeOverride — Selects how the request body is sent (auto, binary, json, multipart, none, raw).
  • manualJsonBody — Raw JSON body used when Body Mode Override is set to JSON.
  • manualRawBody — Plain text body used when Body Mode Override is set to Raw.
  • manualBinaryBodyProperty — Name of the input data field containing binary data for manual binary/multipart payloads.
  • manualMultipartFileFieldName — Name of the multipart file field expected by the endpoint when using manual multipart mode.
  • manualMultipartFields — Additional multipart form fields as JSON when using manual multipart mode.
  • responseFormat — Defines how the response is parsed (auto, binary, json, text).
  • binaryOutputProperty — Property name used to store binary response data when Response Format is binary.
  • returnFullResponse — If true, the full HTTP response (headers, status) is returned instead of only the body.
  • wrapResponseData — If true, response data is kept as a single output item; disabling splits array responses into multiple items.

Output shape

the created webhook object (or success indicator)

Response may include full HTTP details if Return Full Response is enabled; otherwise only the response body is returned. The body can be wrapped or split based on Wrap Response Data setting.

Examples

Example 1: Add a webhook to a station with a JSON payload that triggers on new tracks.

Station ID selected from list; Body Mode Override set to JSON; optional fields include name, triggers, type; sendAdditionalHeaders disabled; Response Format set to JSON; Return Full Response false; Wrap Response Data true.

Links

Discussion