whatsapp integration

This commit is contained in:
debu-2 2026-10-02 12:51:46 +05:30
parent d077292bbc
commit 141ca9fda3
15 changed files with 578 additions and 1 deletions

View file

@ -48,3 +48,20 @@ BONVOICE_MEDIA_ALLOWLIST=103.131.25.5
VOICE_RELAY_PUBLIC_URL=ws://localhost:8000/api/v1/voice
# Production: VOICE_RELAY_PUBLIC_URL=wss://api.urmiai.com/api/v1/voice
# Bonvoice portal voicebot endpoint: wss://api.urmiai.com/api/v1/voice/ws/media
# --- WhatsApp Business Platform (Meta tech provider / BSP) ---
# Public HTTPS API base — used to build the webhook callback URL shown in console
PUBLIC_API_BASE_URL=https://api.urmiai.com
# Callback verify token — paste the SAME value in Meta → Configure Webhooks → Verify token
WHATSAPP_VERIFY_TOKEN=replace-with-a-long-random-string
# App secret from Meta App Dashboard → App settings → Basic
WHATSAPP_APP_SECRET=
# System user or long-lived token with whatsapp_business_messaging + whatsapp_business_management
WHATSAPP_ACCESS_TOKEN=
# From Meta → WhatsApp → API Setup (Phone number ID)
WHATSAPP_PHONE_NUMBER_ID=
# WhatsApp Business Account ID (WABA)
WHATSAPP_BUSINESS_ACCOUNT_ID=
# Meta App ID
META_APP_ID=
WHATSAPP_API_VERSION=v21.0