Mohammad
01/23/2025, 5:44 PMMohammad
01/23/2025, 5:46 PMMohammad
01/23/2025, 5:46 PMVapi
01/23/2025, 5:46 PMMohammad
01/23/2025, 5:46 PM{
"squad": {
"members": [
{
"assistantId": "6903b0db-0901-4446-a84b-21c0dfd2edc5",
"assistantDestinations": [
{
"assistantName": "SP Regular Inbound For Old Patients",
"type": "assistant",
"transferMode": "rolling-history",
"description": "when user speaks Spanish or asks to transfer to Spanish then transfer the call "
}
],
"assistant": {
"name": "Regular Inbound For Old Patients"
}
},
{
"assistantId": "5a5a3fe7-b36b-4b88-a915-a334521d53d1",
"assistantDestinations": [
{
"assistantName": "Regular Inbound For Old Patients",
"type": "assistant",
"description": "when user speaks English or asks to transfer to English then transfer the call "
}
],
"assistant": {
"name": "SP Regular Inbound For Old Patients"
}
}
],
"membersOverrides": {
"variableValues": {
"name": "eloeonora"
}
}
},
"squadId": "b8106dfa-df2b-4cb6-89a4-9f8aecac10ba"
}
Vapi
01/23/2025, 5:46 PMMohammad
01/23/2025, 5:46 PMMohammad
01/23/2025, 5:54 PMShubham Bajaj
01/24/2025, 1:49 PMcurl -X PATCH https://api.vapi.ai/phone-number/insert-your-phone-number-id-here \
-H "Authorization: Bearer insert-your-token-here" \
-H "Content-Type: application/json" \
-d '{
"provider": "twilio",
"server": {
"url": "insert-your-server-url-here"
}
}'
2. After that return the squad for server event assistant-request
{
"squad": {...squadConfigHere}
}
@Mohammad if you have done the above two steps clear me on what's blocking you currently.
https://cdn.discordapp.com/attachments/1332043209190412460/1332346633580449802/Screenshot_2025-01-24_at_7.18.57_PM.png?ex=6794ebff&is=67939a7f&hm=4697dc64ab75312381fb09429a467af684b24eafabb1500a9211bfd819b73a64&Mohammad
01/25/2025, 8:17 AM