Webhook URL: https://your-domain.com/api/whatsapp/webhook
- GET — Meta verification (hub.verify_token)
- POST — inbound messages and delivery status
- Subscribe to messages field on your WABA
Local development
Use ngrok for HTTPS. Set NEXT_PUBLIC_APP_URL to your tunnel URL so internal process-message calls resolve correctly.