NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Media/Greetings → Update Greeting from Upload

AI-generated

Summary

Replaces an existing greeting audio file for a selected domain, user, and media index. Provide the audio as binary data from an earlier node or as base64 text; the operation sends it with a script description and can request format conversion.

Inputs

  • Domain (required) — Select a domain or enter its name.
  • User (required) — Select a user in the 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, name the input binary property containing the audio; defaults to data.
  • Encoding — MIME type of the audio file, such as audio/wav or audio/mp3; the field description says leaving it empty allows detection from binary data.
  • Base64 File — When using base64 text input, provide the base64-encoded audio content.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options; defaults to false.

Output shape

Not established from the supplied source pack.

The source pack lists the execute method but omits its implementation body, so it does not establish the returned data shape or confirm how the audio is sent.

Examples

Example 1: Update a user's existing greeting using audio from an earlier node

Choose the domain, user, and greeting index; set File Source to Binary Data From Previous Node and provide the Binary Property name. Enter a Script description and choose whether to wait synchronously or request conversion.

Example 2: Update a greeting using base64 content

Choose Base64 Text Input as File Source and provide the encoded audio in Base64 File, along with the required domain, user, index, synchronous setting, and script description.

Links

Discussion