NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Media/Music on Hold/Domain → Update MOH for Domain from Upload

AI-generated

Summary

Uploads audio to replace a music-on-hold item for a selected domain, with options for synchronous processing, file conversion, and binary or Base64 input.

Inputs

  • Domain (required) — Select a domain or enter its name.
  • Index (required) — Select the existing media item to update or enter its index.
  • Synchronous (required) — Choose whether to wait for a 200 response or receive a 202 acknowledgement; defaults to Yes.
  • Script (required) — Description of the audio file.
  • Convert — Choose whether the API converts the file format for playback compatibility; defaults to Yes.
  • File Source (required) — Choose binary data from a previous node or Base64 text input; defaults to binary data.
  • Binary Property — When using binary input, name the incoming binary property; defaults to data.
  • Encoding — MIME type of the audio file, such as audio/wav or audio/mp3; may be left empty for automatic detection from binary data.
  • Base64 File — When using Base64 input, provide the audio file content, typically through an n8n expression.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options; defaults to false.

Output shape

A single item containing the API response or acknowledgement.

The available property descriptions indicate synchronous mode can wait for a 200 response or receive a 202 acknowledgement. The source pack provides signatures but omits the execute implementation body, so the exact response fields are not visible.

Links

Discussion