NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

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

AI-generated

Summary

Updates a user's Music on Hold media item for a domain by generating audio from text-to-speech (TTS). Choose the domain, user, and existing media index, then provide the script and optionally set the voice language and voice ID; choose whether the request waits for completion or returns an acknowledgement.

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 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.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options; defaults to false.

Output shape

A response from the NetSapiens API for the TTS media update.

The response may be a completion response or a 202 acknowledgement, depending on Synchronous. The source pack does not expose the request implementation body, so further response fields are unspecified.

Links

Discussion