Gather using speak
POST/calls/:call_control_id/actions/gather_using_speak
Convert text to speech and play it on the call until the required DTMF signals are gathered to build interactive menus.
You can pass a list of valid digits along with an 'invalid_payload', which will be played back at the beginning of each prompt. Speech will be interrupted when a DTMF signal is received. The Answer command must be issued before the gather_using_speak
command.
Expected Webhooks:
- DTMF
- Gather ended
Request
Responses
200:
Successful response
422:
Error response