yookywooky
11/26/2025, 9:49 PM{{phoneNumber}} but it didn't work.Vapi Support Bot
11/26/2025, 9:50 PM{{phoneNumber}} directly in the assistant's built-in analysis prompt. However, you can access the customer's phone number in your server webhook like this:
js
const incomingNumber = req.body?.call?.from?.phoneNumber;
Use this value in your server logic to filter or route calls as needed.
Reference: [Vapi documentation – Spam call rejection](https://docs.vapi.ai/server-url/spam-call-rejection)
Source:
- [Vapi documentation – Spam call rejection](https://docs.vapi.ai/server-url/spam-call-rejection)Chiranjeet Mishra
12/16/2025, 11:03 AM