Verbs

<Say>

Speak text to the caller with text-to-speech.

Element body

The text to speak. UTF-8.

Example

<Response>
  <Say voice="alice" language="en-US">Thanks for calling. Please hold while we connect you.</Say>
</Response>

Attributes

Attribute Default Behaviour
voice engine default Text-to-speech voice override. Available voice names depend on the synthesis engine configured for your account.
language en BCP-47 language hint passed through to the configured text-to-speech engine.
loop 1 Number of times to repeat the text. 0 loops until the call hangs up.

Notes

  • <Say> may also be nested inside <Gather> as a prompt and inside <Pay> prompts.