AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Web Hook → Clone Webhook

AI-generated

Summary

Clone an existing AzuraCast webhook for a specified station.

Inputs

  • path__clonewebhook__id (required) — Webhook identifier (name or ID) to clone
  • path__clonewebhook__station_id (required) — Station identifier (name or ID) containing the webhook
  • sendAdditionalHeaders — Include extra HTTP headers in the request
  • additionalHeaders — JSON object of additional HTTP headers
  • bodyModeOverride — Override default body handling mode
  • manualJsonBody — Manual JSON request body (used when bodyModeOverride is JSON)
  • manualRawBody — Manual raw text request body (used when bodyModeOverride is Raw)
  • manualBinaryBodyProperty — Binary property name to read for binary/multipart payloads
  • manualMultipartFileFieldName — File field name expected in multipart mode
  • manualMultipartFields — Additional multipart form fields as JSON
  • responseFormat — Response parsing mode (auto, binary, json, text)
  • binaryOutputProperty — Binary output property name when responseFormat is binary
  • returnFullResponse — Return full HTTP response including headers and status code
  • wrapResponseData — Wrap response body in a single output item

Output shape

A cloned webhook object representing the newly created webhook

Returns the created webhook resource; when returnFullResponse is true the output includes HTTP headers and status code, otherwise only the body. May be a single object or an array depending on responseFormat.

Examples

Example 1: Clone a webhook by ID for a station using JSON body

path__clonewebhook__id = 8, path__clonewebhook__station_id = 1, bodyModeOverride = json, manualJsonBody = {"url":"https://example.com"}, responseFormat = json

Example 2: Clone a webhook by name and send extra headers

path__clonewebhook__id = "MyWebhook", sendAdditionalHeaders = true, additionalHeaders = {"X-Trace-ID":"abc123"}, wrapResponseData = false

Links

Discussion