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.
Say TTS into a channel call
Authorizations
HTTPRequired
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Path parameters
workspaceIdstring · uuidRequired
The ID of the workspace
callIdstring · uuidRequired
The ID for a call
channelIdstring · uuidRequired
The ID for a channel
Body
textstringRequired
localestring · enumOptionalDefault:
en-USExample: en-USPossible values: voicestringOptional
loopintegerOptional
timeoutintegerOptional
Responses
202
Call Command Say was accepted for processing
application/json
400
The request did not pass validation
application/json
404
The request did not pass validation
application/json
422
The request did not pass validation
application/json
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/sayExample 1: Play an announcement when an outbound call is running
Last updated
Was this helpful?

