shin08
07/31/2025, 7:30 AMChiranjeet Mishra
08/02/2025, 9:31 AMcurl -X POST https://api.vapi.ai/call/web \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"assistantId": "your-assistant-uuid"
}'
Once you submit this request payload, the response will contain a webCallUrl that you can use to connect to the call. This is effectively the same function as the Talk to Assistant on the dashboard. Let us know if you have any questionsshin08
08/04/2025, 3:02 AMChiranjeet Mishra
08/06/2025, 2:00 AMtrue
{
"monitorPlan": {
"controlEnabled": true,
"controlAuthenticationEnabled": false // or true if you want auth
}
}
Please note that the controlUrl is for controlling the assistant. If you want to stream the assistant audio real-time, be sure to use the listenUrl. Are is some documentation regarding the instructions for both listenUrl and controlUrl