NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Media/Greetings → Create a New Greeting from Upload

AI-generated

Summary

Uploads an audio greeting for a NetSapiens user, using binary data from an earlier node or base64 text. Choose the domain and user, provide a script description, and optionally set the greeting index, conversion behavior, and MIME type.

Inputs

  • Domain (required) — NetSapiens domain for the target user; select from the list or enter a domain name.
  • User (required) — Target user within the domain; select from the list or enter a user ID.
  • Synchronous (required) — Choose whether to wait for a 200 response or accept a 202 acknowledgement.
  • Script (required) — Description of the audio file.
  • Index — Optional MOH index position: 0 is the intro greeting. Leave empty for automatic assignment.
  • 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; defaults to binary data.
  • Binary Property — Binary property containing the audio file; shown for binary data and defaults to data.
  • Encoding — Audio MIME type, such as audio/wav or audio/mp3; leave empty for automatic detection from binary data.
  • Base64 File — Base64-encoded audio content; shown when Base64 Text Input is selected.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options; defaults to off.

Output shape

A response from the greeting creation request.

The properties describe synchronous and asynchronous response choices (200 response or 202 acknowledgement); the supplied source pack omits function bodies, so it does not establish the exact returned fields or shape.

Links

Discussion