Skip to main content

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 (if send_partial_results is set to true)
  • call.ai_gather.message_history_updated (if send_message_history_updates is set to true)

Request

Responses

200:

Successful response upon making a call control command that includes conversation_id.

default:

Unexpected error