You can use the Speak element to read out text as speech to the caller. It’s useful for communicating dynamic text that cannot be prerecorded.

Attributes

voice
string

The tone to be used for reading out the text.

Allowed values: WOMAN, MAN
Defaults to WOMAN.

language
string

Language used to read out the text.

Allowed values: See the table “Supported voices and languages” below.

Defaults to en-US.

loop
integer

Specifies number of times to speak out the text. If value set to 0, speaks indefinitely.

Allowed values: integer >= 0 (0 indicates a continuous loop)
Defaults to 1.

Supported voices and languages

Danish
value: da-DK
  • Woman — yes
  • Man — no
Dutch
value: nl-NL
  • Woman — yes
  • Man — yes
English — Australian
value: en-AU
  • Woman — yes
  • Man — yes
English — British
value: en-GB
  • Woman — yes
  • Man — yes
English — USA
value: en-US
  • Woman — yes
  • Man — yes
French
value: fr-FR
  • Woman — yes
  • Man — yes
French — Canadian
value: fr-CA
  • Woman — yes
  • Man — no
German
value: de-DE
  • Woman — yes
  • Man — yes
Italian
value: it-IT
  • Woman — yes
  • Man — yes
Polish
value: pl-PL
  • Woman — yes
  • Man — yes
Portuguese
value: pt-PT
  • Woman — no
  • Man — yes
Portuguese — Brazilian
value: pt-BR
  • Woman — yes
  • Man — yes
Russian
value: ru-RU
  • Woman — yes
  • Man — no
Spanish
value: es-ES
  • Woman — yes
  • Man — yes
Spanish — USA
value: es-US
  • Woman — yes
  • Man — yes
Swedish
value: sv-SE
  • Woman — yes
  • Man — no