Benjamin Morehouse
09/30/2025, 12:42 AMBenjamin Morehouse
09/30/2025, 12:43 AMconst call: Vapi.Call | Vapi.CallBatchResponse = await this.vapiClient.calls.create({
assistantId,
phoneNumberId: companyPhoneIDInVapi,
customer: {
number: targetPhoneNumber,
},
})
if ('id' in call && 'status' in call) {
// Create call log entry
return {
callId: call.id,
status: call.status || 'queued',
}
}Vercel
09/30/2025, 5:57 AMBenjamin Morehouse
10/01/2025, 12:29 PM