Say Text-To-Speech (TTS)
Use this request in order to say
a text message during a call, this API uses our Text-To-Speech service to convert the provided text into an audio, you can configure the text, language, voice nature and if you want the message to repeat.
Command for say text to call
Say TTS
Say TTS into a channel call
POST/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/say
Authorization
Path parameters
workspaceId*string (uuid)
The ID of the workspace
callId*string (uuid)
The ID for a call
channelId*string (uuid)
The ID for a channel
Body
text*string
localeenum
Example: "en-US"
arbar-AEca-ESyue-CNcmn-CNda-DKnl-BEnl-NLen-AUen-GBen-INen-NZen-ZAen-USen-GB-WLSfi-FIfr-FRfr-CAhi-INde-DEde-ATis-ISit-ITja-JPko-KRnb-NOpl-PLpt-BRpt-PTro-ROru-RUes-ESes-MXes-USsv-SEtr-TRcy-GBth-THfil-PH
voicestring
loopinteger
timeoutinteger
Response
Call Command Say was accepted for processing
Body
idId-2 (string (uuid))
callIdId-2 (string (uuid))
callFlowIdId-2 (string (uuid))
statusstring
commandstring
Request
Response
Example 1: Play an announcement when an outbound call is running
Last updated