v1
latestOpenAPI 3.0.02026-07-1494623.7 KBPlay text to speech into a call
Play text to speech into a call
Request body
The language to use
The volume level that the speech is played. This can be any value between -1 to 1 in 0.1 increments, with 0 being the default.
The number of times to repeat the text the file, 0 for infinite
Set to true to use the premium version of the specified style if available, otherwise the standard version will be used. The default value is false. You can find more information about Premium Voices in the Text-To-Speech guide.
The vocal style (vocal range, tessitura, and timbre) to use
The text to read
<strong>DEPRECATED</strong> The voice & language to use
Example request
{
"level": "0.4",
"text": "Hello. How are you today?"
}Response
Ok
Description of the action taken
The unique identifier for this call leg. The UUID is created when your call request is accepted by Vonage. You use the UUID in all requests for individual live calls
Example response
{
"message": "Talk started",
"uuid": "63f61863-4a51-4f6b-86e1-46edebcf9356"
}