Skip to content
Assistants

Hear the voice say a word or one of its versions

POST/assistants/{id}/pronunciations/say

Returns 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

Request body

  • textstringrequired

    What the voice says: the word as written (how callers hear it with no pronunciation), or a version of it (replacement of a pronunciation, or a suggested version's text).

    Example "Swile"1 to 500 characters

Response

200
  • audio_base64string

    The assistant's voice saying text exactly 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.