Hear the voice say a word or one of its versions
POST
/assistants /{id} /pronunciations /sayReturns the assistant's voice saying text exactly as sent, without applying any of its pronunciations: the word as written is how callers hear it before one is set.
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.
Request body
application/jsontextstringrequiredWhat the voice says: the word as written (how callers hear it with no pronunciation), or a version of it (
replacementof a pronunciation, or a suggested version'stext).Example
"Swile"1 to 500 characters
Response
200audio_base64stringThe assistant's voice saying
textexactly as sent, base64-encoded WAV.
Errors
- 404Not found in your organization
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.