Skip to main content
POST
Speak text on a call
Convert text to speech and play it during an active call. Choose from 29 languages and multiple voice options (WOMAN and MAN) to deliver dynamic messages without pre-recording audio files.
Default language is English (US) with WOMAN voice. Voice availability varies by language - see the table below.

Path parameters

Request parameters

  • Keep text under 500 characters for optimal speech quality.
  • Use periods and commas to control pacing and natural pauses.
  • Set mix=false for important announcements so the caller hears them clearly.

Supported languages

If you request MAN voice for a language that only supports WOMAN, the API automatically falls back to WOMAN.

Example requests

Response

202 Accepted

Error responses

Combine the Speak Text API with DTMF input capture to create interactive voice response systems that respond to user selections in real-time. Use legs=bleg to address only the callee, or both for everyone.

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID

X-Auth-Token
string
header
required

Your Vobiz account Auth Token

Path Parameters

auth_id
string
required

Your account Auth ID

Example:

"MA_XXXXXX"

call_uuid
string
required

Body

application/json
text
string
required
Example:

"Hello, your appointment is confirmed."

voice
string
default:WOMAN
language
string
default:en-US
legs
enum<string>
default:aleg
Available options:
aleg,
bleg,
both

Response

200

TTS started