isaiahbuilds
12/14/2024, 8:39 PMVapi
12/14/2024, 8:41 PMisaiahbuilds
12/14/2024, 8:52 PMVapi
12/14/2024, 8:52 PMisaiahbuilds
12/14/2024, 8:53 PMShubham Bajaj
01/05/2025, 9:43 PMShubham Bajaj
01/05/2025, 9:45 PMtools
outside assistant property because of this it's unable to identify the property and causing error for you instead you to pass it inside the assistant model property.
example-curl-request
curl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"assistant": {
"model": {
"provider": "openai",
"model": "o1-mini",
"tools": []
}
},
"phoneNumberId": "insert-your-phone-number-id-here",
"customer": {
"number": "insert-customer-number-here",
"numberE164CheckEnabled": false
}
}'
Shubham Bajaj
01/05/2025, 9:45 PMisaiahbuilds
01/06/2025, 4:18 AM