Say
SayAction speaks synthesised text to the caller.
SayAction speaks synthesised text to the caller.
| Parameter | Type | JSON key | Required | Description |
|---|---|---|---|---|
Text | string | text | Yes | Text is the message to synthesise. Required. |
Voice | string | voice | No | Voice is the TTS voice identifier (e.g. "alice", "man", "woman"). Optional; PBX default applies if empty. |
Language | string | language | No | Language is an IETF BCP-47 language tag (e.g. "en-US"). Optional. |
Loop | int | loop | No | Loop is the number of times to repeat. 0 means once (PBX default). |
{"actions":[{"say":{"text":"text-value"}}]}<Say voice="alice" language="en-US">Hello, your KES 500 top-up is confirmed.</Say>