Reads a short text aloud with a voice and returns the audio as a Base64-encoded MP3, for example to record a greeting without uploading a file. This does not create a custom IVR recording (the text-to-speech service may cache the generated audio): save the audio with Custom IVR -- Create by sending it in the "file" field. The text is plain text of 1 to 500 characters, which keeps the audio small enough to be saved that way. A voice name that is not in the list answers 400, a voice the text-to-speech service refuses answers 422, and a text-to-speech outage answers 503 with a Retry-After header.
Requires the onboarding:write scope: this is a POST action that makes a paid text-to-speech call every time, so a key must be granted it on purpose.
Requires scope: onboarding:write
Rate limit: 10 per minute.