Twilio IVR
Interactive Voice Response service built with Next.js (App Router).
Twilio webhook endpoints:
POST /api/voice— entry point for incoming calls (returns the menu).POST /api/voice/handle-key— processes the caller's keypad selection.
Point your Twilio phone number's "A call comes in" webhook to /api/voice.