-
Notifications
You must be signed in to change notification settings - Fork 4
WhatsApp Business API Meta Setup
This is usually the hardest part of setup. To send and receive real messages, ForgeChat connects to the official Meta WhatsApp Cloud API using your own Meta credentials. You only do this once.
From the Meta Business dashboard and Meta for Developers:
| Value | Where it comes from |
|---|---|
| WhatsApp Business account (WABA) | Created in Meta Business — required to use the Cloud API |
| Display phone number | The business number registered to your WABA |
| Phone Number ID | WhatsApp → API Setup — the ID of that number (not the number itself) |
| WABA ID | WhatsApp → API Setup — your WhatsApp Business Account ID |
| Meta App ID | Your app under Meta for Developers |
| Access token | A permanent access token for your app / system user (temporary tokens expire after 24 hours) |
- Log in to ForgeChat → Settings → WhatsApp Accounts → Add.
- Paste the Display Phone Number, Phone Number ID, WABA ID, Meta App ID, and access token.
- Save. ForgeChat stores the access token encrypted (AES-256-GCM).
Meta delivers incoming messages to ForgeChat through a webhook. In the Meta dashboard (WhatsApp → Configuration):
-
Callback URL:
https://<your-domain>/api/webhook/whatsapp -
Verify token: the value of
META_WEBHOOK_VERIFY_TOKENfrom yourbackend/.env(the token you saved during installation) -
Subscribe to:
messages
Meta requires a public HTTPS URL. On a server, your domain via Caddy provides this automatically. For a local install, expose one with a free Cloudflare Tunnel (see the README) and use that address as the Callback URL.
- In ForgeChat go to Settings → Webhooks → Send Test Webhook — the row should show processed.
- From your phone, send a WhatsApp message to your business number. It should appear in Chats within seconds.
- Reply from ForgeChat — it should arrive on your phone, and show a delivered status under Settings → Webhooks.
ForgeChat connects you to WhatsApp, but it does not exempt you from Meta's rules. You are responsible for following the WhatsApp Business Platform policies, including obtaining opt-in / consent before messaging people, following message template rules, and staying within Meta's messaging limits.
See also: Configuration & Environment Variables • Using the Dashboard • Troubleshooting
ForgeChat · fair-code under the Sustainable Use License · © 2026 Forgemind Techhub LLP. Forgemind AI is a trademark of Forgemind Techhub LLP — see TRADEMARK.md.
Setup
Using ForgeChat
Help
Project