NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Media/Hold Messages/User → Update Hold Message for User from Upload

AI-generated

Summary

Uploads an audio file to replace a selected hold-message item for a user in a domain. Choose the domain, user, and media index, then provide the audio from an incoming binary property or as base64 text; the operation also accepts a script description, optional conversion setting, and synchronous or asynchronous response mode.

Inputs

  • Domain (required) — Select a domain or enter its name.
  • User (required) — Select a user in the chosen domain or enter the user ID.
  • Index (required) — Select an existing media item or enter its index.
  • Synchronous (required) — Choose whether to wait for a 200 response or receive a 202 acknowledgement.
  • Script (required) — Description of the audio file.
  • Convert — Whether the API should convert the file format for playback compatibility; defaults to Yes.
  • File Source (required) — Choose binary data from a previous node or base64 text input.
  • Binary Property — When using binary data, the name of the incoming binary property containing the audio file; 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 text input, the base64-encoded audio content.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options; defaults to false.

Output shape

A single item containing the API response.

The response mode determines whether the API waits for a 200 response or returns a 202 acknowledgement. The provided source pack omits implementation bodies, so the exact response fields are not shown.

Links

Discussion