The Speak Element

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

AttributeDescription
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

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