Kelly
09/03/2025, 7:37 PMVapi Support Bot
09/03/2025, 7:38 PMstatusCallback to detect if the human doesn't answer, then return control to your assistant and prompt for voicemail. Here’s a code snippet for the /participant-status endpoint:
js
app.post("/participant-status", async (req, res) => {
const callStatus = req.body.CallStatus;
if (["no-answer", "busy", "failed"].includes(callStatus)) {
// Logic: return to assistant, apologize, prompt for voicemail, send SMS
}
return res.sendStatus(200);
});
You will need Twilio integration for this flow; Vapi alone does not handle all these steps natively.
Source:
- [Call Handling with Vapi and Twilio](https://docs.vapi.ai/calls/call-handling-with-vapi-and-twilio)Kelly
09/03/2025, 7:49 PMAiTitus :)
09/04/2025, 3:17 AMChiranjeet Mishra
09/05/2025, 1:35 PM