WhatsApp Integration
Send automated WhatsApp notifications and respond to subscriber messages.
Overview
Qserve integrates with the WhatsApp Business Platform (Meta Cloud API) to send automated messages to subscribers. You can send payment reminders, renewal notifications, and custom broadcasts — all from the Qserve dashboard. Subscribers can also reply, and you can respond from the built-in WhatsApp Chat interface.
Prerequisites
- A Meta Business Account
- A verified WhatsApp Business phone number (separate from your personal WhatsApp)
- The phone number must be enrolled in the WhatsApp Business Platform (not just the free WhatsApp Business App)
Step 1 — Get Your API Credentials
- Go to developers.facebook.com → My Apps → Create App → Business.
- Add the WhatsApp product to your app.
- From WhatsApp → API Setup, note:
- Phone Number ID — the ID of your WhatsApp Business number
- Access Token — a permanent token (create a System User token for production)
- Business Account ID (WABA ID)
Step 2 — Configure in Qserve
- Go to Admin → WhatsApp.
- Enter your Phone Number ID, Access Token, and WABA ID.
- Enter your Verify Token — a random string you choose (e.g.,
qserve_whatsapp_2024). - Save. Qserve shows you a webhook URL to configure in your Meta app.
Step 3 — Set Up the Webhook in Meta
- In your Meta app → WhatsApp → Configuration → Webhook.
- Click Edit and enter:
- Callback URL:
https://qserve-isp.net/api/whatsapp/webhook - Verify Token: the same string you entered in Qserve
- Callback URL:
- Click Verify and Save. Meta sends a verification request that Qserve handles automatically.
- Subscribe to the messages webhook field.
Step 4 — Approve Message Templates
WhatsApp requires pre-approved templates for outbound messages to subscribers who haven't messaged you first. In Meta → WhatsApp → Message Templates, create templates for:
- Payment reminder (expiry warning)
- Package activated confirmation
- Account expired notification
Templates are reviewed by Meta within 24–48 hours. Conversational replies (within 24 hours of a subscriber message) do not need templates.
Using WhatsApp Chat in Qserve
Once configured, go to Admin → WhatsApp to see the conversation inbox. All inbound messages from subscribers appear here. Click a conversation to reply. You can also initiate a message to any subscriber from their profile page.
Use a permanent System User Access Token, not the temporary token shown in the API setup page. Temporary tokens expire after 24 hours and will break your notifications.