Hi there,
I try to post phonenumberid/assistantid/customernumber to the vapi server. however, I got following error:
{"detail":{"message":"Failed to place outbound call","error":"401 Client Error: Unauthorized for url:
https://api.vapi.ai/call/phone"}}
DO you know if I need any specific settings?
My post ius something like:
curl -X POST
http://localhost:8000/api/outbound -H "Content-Type: application/json" -d '{
"phoneNumberId": "XXXXXXXX",
"assistantId": "XXXXX",
"customerNumber": "+1234567"
}'
Thanks,
Xin