make an HTTP request from make.com to vapi.ai

"Hi, I'm trying to create a scenario in make.com to make an HTTP request from make.com to vapi.ai. When I run the code, it seems that I don't receive a call on the given phone number. How can I solve this problem?" this the code i used:

curl --request POST \
--url https://api.vapi.ai/call/phone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assistantId": "<string>",
"customer": {
"name": "<string>",
"number": "<string>"
},
"type": "outboundPhoneCall"
}'
Was this page helpful?