Backend API Setup Guide
WhatsApp Messaging Backend (Supabase Edge Function)
Why Backend API?
Prerequisites
Step 1: Install Supabase CLI
Windows
Mac/Linux
Step 2: Login to Supabase
Step 3: Link Your Project
Step 4: Set Environment Variables
Step 5: Deploy the Edge Function
Step 6: Test the Deployed Function
Option 1: Test with curl
Option 2: Test in Browser (WhatsApp Test Page)
Step 7: Verify in Twilio Console
Architecture Flow
Troubleshooting
Error: "Function not found"
Error: "Twilio not configured on server"
Error: "Unauthorized"
Error: "Failed to send WhatsApp"
Last updated
Was this helpful?