How to intercept inbound calls in Vapi and trigger...
# support
h
@Vapi @Vapi Support Bot @User My goal: whenever an inbound call comes to my Vapi number, I want my webhook to be triggered immediately (without needing full assistant logic). Could someone clarify: - Which server event should I use to intercept incoming calls? Basically, I want the webhook to fire as soon as the inbound call is detected, so that I can dynamically pass firstName and email.
f
You can do this by listening to the call lifecycle events in Vapi, specifically the call.initiated (or call.started) server event. This event fires as soon as an inbound call hits your Vapi number, before any assistant logic runs. Attach your webhook URL in the Vapi server events settings and subscribe to that event. From there, you can immediately trigger your webhook and pass dynamic data like firstName and email into the call context or metadata. You don’t need the assistant to speak or execute steps for this—just handle it at the event level. Make sure your webhook responds quickly (200 OK) so the call flow isn’t delayed.
h
"assistant.started", "conversation-update", "transfer-update", "end-of-call-report", "function-call", "hang", "model-output", "phone-call-control", "speech-update", "status-update", "transcript", "transcript[transcriptType=\"final\"]", "tool-calls", "transfer-destination-request", "handoff-destination-request", "user-interrupted", "voice-input", "chat.created", "chat.deleted", "session.created", "session.updated", "session.deleted" These are the server events that vapi provides, there's no call.starter or initiated event.