NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Media/Hold Messages/User → Create a New Hold Message for User from Upload

AI-generated

Summary

Uploads an audio file as a new hold message for a selected NetSapiens domain and user. Choose binary data from an earlier node or provide base64 text, then set the message description and optional playback settings.

Inputs

  • Domain (required) — Select a domain or enter its name.
  • User (required) — Select a user in the domain or enter the user ID.
  • Synchronous (required) — Choose whether the API waits for a 200 response or returns a 202 acknowledgement.
  • Script (required) — Description of the audio file.
  • Index — Optional numeric MOH position; 0 is the intro greeting. Leave empty for automatic assignment.
  • Convert — Whether the API converts the audio format for playback compatibility.
  • File Source (required) — Choose binary data from a previous node or base64 text input.
  • Binary Property — When using binary data, name the binary property containing the audio file; defaults to data.
  • Encoding — MIME type such as audio/wav or audio/mp3; can be left empty for automatic detection from binary data.
  • Base64 File — When using base64 text input, provide the encoded audio file content.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options.

Output shape

A single API response item

The response status may be 200 or a 202 acknowledgement depending on the Synchronous setting; exact response fields are not shown in the provided source pack.

Links

Discussion