get TTS from provider

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

AccountSidstringRequired

Request

This endpoint expects an object.
speech_credential_sidstringRequired
Speech credential Sid
textstringRequired
the text to convert to audio
languagestringRequired
language is used in text
voicestringRequired
voice ID
encodingMp3booleanOptional
convert audio to mp3.

Response

Audio is created

Errors

400
Bad Request Error
422
Unprocessable Entity Error
500
Internal Server Error