Gather using AI
POST/calls/:call_control_id/actions/gather_using_ai
Gather parameters defined in the request payload using a voice assistant.
You can pass parameters described as a JSON Schema object and the voice assistant will attempt to gather these informations.
Expected Webhooks (see callback schema below):
call.ai_gather.ended
call.conversation.ended
call.ai_gather.partial_results
(ifsend_partial_results
is set totrue
)call.ai_gather.message_history_updated
(ifsend_message_history_updates
is set totrue
)
Request
Responses
200:
Successful response upon making a call control command that includes conversation_id.
default:
Unexpected error