The only documentation I can find on call control is very limited, and the API docs are missing it altogether.
Example:
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/7420f27a-30fd-4f49-a995-5549ae7cc00d/control'
-H 'content-type: application/json'
--data-raw '{
"type": "say",
"message": "Welcome to Vapi, this message was injected during the call."
}'
Another example, where the JSON is truncated:
https://docs.vapi.ai/examples/inbound-support
I am trying to update the assistant or pass it to a different assistant based on my server calling that endpoint for the live call.
Ideas?