voice
voice

Tts Preview

Synthesize a short voice sample for the agent-settings voice picker.

Resolution order for the sample text:

  1. Explicit text field (if provided — for ad-hoc previews)
  2. agent.execution_config.voice_greeting when agent_id is set
  3. Fallback phrase looked up by voice → language map
post/api/voice/tts/preview

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/voice/tts/preview
  • Auth: none declared

Request body

providerstring required
voicestring required
speednumber
agent_idinteger nullable
languagestring nullable
textstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.