NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

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

AI-generated

Summary

Updates an existing domain music-on-hold item with text-to-speech audio. Choose the domain and media index, provide the script, and optionally set the voice language and voice ID; synchronous mode controls whether the request waits for completion or returns an acknowledgement.

Inputs

  • Refresh Dropdown Cache — When enabled, bypasses cached dropdown options and fetches fresh values.
  • Domain (required) — Select a domain or enter its name.
  • Index (required) — Select an existing media item or enter its index manually.
  • Synchronous (required) — Choose Yes to wait for a 200 response, or No to receive a 202 acknowledgement.
  • Script (required) — Text-to-speech content or description of the audio.
  • Voice Language — Language code for the TTS voice; defaults to en-US.
  • Voice ID — TTS voice identifier; defaults to en-US-Wavenet-C.

Output shape

A response from the domain media update request.

The response may be a completion response or an acknowledgement, depending on Synchronous. The source pack provides no function bodies, so it does not establish the exact returned data shape.

Links

Discussion