Zammad WhatsApp Integration: Setup Guide
Connect WhatsApp to Zammad using Meta Cloud API. Full setup guide, prerequisites, troubleshooting, and the 24-hour messaging window explained.
- Connect WhatsApp to Zammad via Meta Cloud API in 10-15 minutes with admin access and API credentials
- Meta's 24-hour window limits replies: agents have 24 hours after a customer messages to respond free; after that, sending costs money
- Requires a dedicated unregistered phone number, public HTTPS access to your Zammad instance, and webhook verification in Meta Developer
- Common failures: webhook not reachable, tokens misconfigured, phone number unverified--debug via Zammad logs and Meta's webhook status
- WhatsApp in Zammad works best for same-day reactive support; it fails for outbound campaigns, overnight follow-ups, or high-volume (1000+/day) operations
Yes, you can add WhatsApp as a support channel in Zammad using Meta's Cloud API. The setup takes about 15 minutes if you have the right permissions. But there's a critical catch: you can only reply to customers within 24 hours of them initiating contact. This is a Meta restriction, not a Zammad limitation. If your team handles support requests within that window, here's the full walkthrough.
Is Zammad WhatsApp Integration Right for You?
Not every team should adopt WhatsApp in Zammad. The 24-hour messaging window works for reactive support (a customer messages you, you respond). It falls apart for outbound campaigns, follow-ups after the window closes, or high-volume inbound where your team often responds after a day.
Zammad itself is an open-source helpdesk with six channels built in: email, chat, phone, social media, SMS, and WhatsApp. It runs on flat-rate pricing with no per-agent fees, unlike Zendesk or Freshdesk. If you're considering Zammad, WhatsApp is one piece of a larger setup. That's why running Zammad on managed EU hosting matters: you need reliable uptime and fast webhook processing to stay inside Meta's 24-hour window.
WhatsApp works best if:
- Your team responds to inbound messages the same day
- You want one unified inbox for email, chat, and social channels
- You're not doing outbound marketing or promotional messages (Meta has strict rules on those)
- Your support volume is under 1,000 messages per day (Cloud API has rate limits)
It's not the right fit if:
- You need to initiate contact with customers outside the 24-hour window (use SMS or email instead)
- Your team has unpredictable response times or overnight shifts (you'll hit the cutoff)
- You're migrating from a WhatsApp Business mobile app and want to keep the same phone number (the API uses a dedicated unregistered number)
What You Need Before Starting
Gather these before you open Zammad:
-
Meta Developer Account (free, at developer.facebook.com). This is where you'll create the app and register your phone number.
-
Meta Business Account (free, via business.facebook.com). This is the umbrella account that owns your apps and assets. If you already have a Facebook Page or Instagram Business profile, you have one.
-
A dedicated, unregistered phone number. This cannot be an existing WhatsApp Business mobile app number or a personal account. Meta requires a fresh number. Use a VoIP service if you don't have a spare SIM. The number must pass Meta's verification (SMS or call).
-
Zammad admin access. You need to log in as an admin user and navigate to Channels > WhatsApp.
-
HTTP webhook URL from your Zammad instance. Your Zammad server must be reachable from the internet and have a valid SSL certificate (https, not http). If you're running Zammad on localhost or behind a firewall, you'll need to expose it or use a tunneling service like ngrok for testing.
-
A valid Meta API access token. You'll generate this in the Meta Developer dashboard and paste it into Zammad.
Most teams skip the VoIP number step and get stuck. Plan for 10-15 minutes just to verify your phone with Meta. They send an SMS code and require re-verification if the number hasn't been used in 30 days.
Step 1: Set Up Your Meta Developer App and Cloud API
- Log in to developer.facebook.com with your Meta account.
- Click My Apps in the top left.
- Click Create App. Choose Business as the app type.
- Fill in the app name (e.g., "Zammad Support"), contact email, and business account. Click Create App.
- On the app dashboard, search for WhatsApp in the product search box. Click Set Up.
- On the next screen, click Start Using Cloud API.
- You'll see a form for "Server Phone Number ID" and "Business Account ID." Don't fill this yet. Instead:
- Click the API Setup tab.
- Scroll to "Phone Number ID" and click Get Started.
- Follow Meta's flow to register your dedicated phone number. You'll receive an SMS or call to verify it.
- Once verified, copy your Phone Number ID, Business Account ID, and Access Token. Store these securely--you'll need them in the next step.
Do not share your access token with anyone. Treat it like a password.
Step 2: Configure WhatsApp in Zammad Admin Panel
- Log in to your Zammad instance as an administrator.
- Navigate to Channels (usually in the left sidebar under Admin).
- Click the + button or Add Channel to create a new channel.
- Select WhatsApp from the list.
- Paste the values from Meta:
- Phone Number ID: Your dedicated phone's ID from Meta Developer.
- Business Account ID: Your Meta Business Account ID.
- Access Token: The long token string from Meta.
- Set a channel name (e.g., "WhatsApp Support") and choose which Zammad group handles WhatsApp tickets.
- Click Test to verify Zammad can reach Meta's API. If it fails, double-check your token and phone number ID--typos will block you here.
- Click Save if the test passes.
At this point, your Zammad instance can send messages to customers on WhatsApp. But Meta still needs to know where to send incoming messages. That's the webhook.
Step 3: Connect the Webhook and Verify Your Phone Number
This step trips up most users. Meta needs a URL to send incoming WhatsApp messages to. That URL is your Zammad webhook.
- In your Zammad admin panel, go to Channels > WhatsApp (the channel you just created).
- Look for the Webhook URL field. It will display your Zammad domain with
/api/v1/whatsapp/incomingappended. Copy this entire webhook URL. - Go back to developer.facebook.com and open your app.
- Navigate to Webhook (in the left sidebar under WhatsApp).
- Click Edit Webhook. Paste your Zammad webhook URL into the Callback URL field.
- For Verify Token, generate a random string (at least 20 characters, letters and numbers). Paste it into Zammad's Verify Token field as well.
- For Subscribe to Fields, check:
messages,message_status,message_template_status_update. - Click Verify and Save in Meta. Meta will send a test request to your webhook URL. If your Zammad instance is live and reachable, it will return a 200 OK and Meta will confirm the webhook is active.
- Back in Meta Developer, scroll down to Phone Numbers and select your dedicated WhatsApp phone number.
- Click Manage phone number. Under Verification, click Verify (or Reverify if already done). Meta will send an SMS or call to the phone number you registered. Enter the code when prompted.
Once verified, incoming WhatsApp messages from customers will route into Zammad as new tickets. Agents see them in the normal ticket inbox, reply as usual, and responses go back to WhatsApp.
Understanding the 24-Hour Messaging Window
Meta's Cloud API enforces a 24-hour window on conversations. Here's what it means in practice:
Customer initiates contact: A customer sends your business a WhatsApp message. The 24-hour window starts. Within those 24 hours, your agents can send free, unlimited replies to that customer. After 24 hours, the window closes.
Outside the window: If you try to send a message after 24 hours have passed, Meta will charge you for a "template message" (typically $0.01-$0.08 per message, depending on your region). Sending a free message after the window is not possible. This is a hard Meta limit.
Automatic reminders: Zammad will warn agents at ~23 hours that the conversation window is about to close. This reminds the team to follow up or close the ticket.
Why this exists: Meta designed the window to prevent businesses from spamming customers. It discourages outbound blasts and cold messaging.
Customer perspective: Customers can always message you at any time. The window only affects agent-initiated replies. If a customer sends a message after 24 hours, the window resets.
If your team frequently needs to follow up after a day has passed, WhatsApp is not your primary channel. Use email or SMS for those follow-ups. Use WhatsApp for immediate, same-day support responses.
Common Setup Issues and Troubleshooting
"Webhook verification failed"
This means Meta cannot reach your Zammad URL. Troubleshoot:
- Verify your Zammad domain is publicly accessible (not localhost, not behind a firewall).
- Confirm your SSL certificate is valid (not self-signed or expired). Meta requires HTTPS.
- Check your Zammad logs for webhook errors: Admin > System > Logs. Look for HTTP 400 or 401 responses.
- If using a VoIP or non-standard number, Meta may reject it. Retry with a carrier phone number if possible.
"Phone number not verified"
Meta didn't complete verification. Solutions:
- Restart the verification process in Meta Developer.
- Ensure you received the SMS or call and entered the code correctly.
- Wait 24 hours before retrying (Meta's rate limit).
- Try a different phone number if the current one has had too many verification attempts.
"Access token expired"
Tokens are long-lived but can be revoked. Regenerate it:
- In Meta Developer, go to Settings > Basic. Scroll to Access Tokens.
- Generate a new token and paste it into Zammad's WhatsApp channel settings.
- Click Test to confirm the new token works.
"Incoming messages don't show up in Zammad"
- Confirm your webhook is active in Meta Developer (check the green checkmark next to your webhook URL).
- Verify the Verify Token in Zammad matches the one in Meta exactly (copy-paste, case-sensitive).
- Check Zammad's system logs (Admin > System > Logs) for webhook delivery errors. Look for status 500 or 403.
- Ensure your WhatsApp channel is assigned to a Zammad group that has active agents. If the group has no agents, messages will queue.
"Outbound messages fail silently"
- Check the ticket status in Zammad. Is it still open or has it been closed?
- Verify the customer's WhatsApp number is registered with Meta (sometimes unverified numbers can't receive messages).
- If outside the 24-hour window, the message requires a template. Without one, Meta silently drops it. Use email to reach the customer instead.
When Zammad WhatsApp Is NOT Enough
Zammad + WhatsApp is not a complete solution if:
You need outbound messaging: The 24-hour window is a dealbreaker. If you run promotional campaigns, follow-ups, or proactive outreach, use a dedicated WhatsApp marketing platform (Twilio, Brevo, MessageBird) alongside Zammad, not inside it.
You need high-volume inbound at scale: The Cloud API has rate limits. Beyond 1,000 messages per day, you'll hit throttling. For large support operations, consider a WhatsApp business solution platform (Intercom, Zendesk, Freshdesk) that has negotiated higher limits with Meta.
You need phone number portability: The API number cannot be your existing WhatsApp Business mobile app number. If your customers expect a familiar phone number, the API approach creates friction. Stick with email or SMS for those cases.
You run a 24/7 distributed team: With teams in different time zones, the 24-hour window means someone is always working past the cutoff. Outbound follow-ups land in the template category and cost you money. Invest in a time-zone-aware helpdesk that bundles WhatsApp with other channels.
In these scenarios, Zammad is still valuable--you're just not using WhatsApp as the core channel. Pair it with email, live chat, or SMS instead. And compare it honestly: Zammad vs Zendesk matters most when you're deciding between self-hosted and SaaS pricing models. Zendesk and Freshdesk charge per agent (typically $29-$99/user/month). Zammad on managed hosting costs one flat rate for unlimited agents, so the tradeoff is feature depth vs cost, not per-agent fees.
Frequently Asked Questions
How do I connect WhatsApp to Zammad?
Log in as a Zammad admin, go to Channels > WhatsApp, enter your Meta API credentials (Phone Number ID, Business Account ID, and Access Token), configure your webhook URL in Meta Developer, verify your phone number, and test. Full setup is 10-15 minutes if you have all credentials ready.
What are the prerequisites for Zammad WhatsApp setup?
You need: a Meta Developer account, a Meta Business account, a dedicated unregistered phone number, a Zammad instance with admin access, a publicly reachable domain with HTTPS, and your Meta API credentials (Phone Number ID, Business Account ID, and Access Token).
Can I send messages outside the 24-hour window?
No. If you send a message more than 24 hours after a customer's last message, Meta will block it (unless you use a Meta message template, which incurs a charge). The 24-hour window resets every time a customer sends a message.
What is a "customer-initiated contact" in Zammad WhatsApp?
It's when a customer sends a message to your WhatsApp number first. This starts the 24-hour free messaging window. Your agents can reply freely within that window. If your team sends the first message, it's an outbound message and may be treated as a template message, subject to Meta's template pricing.
How do I troubleshoot unreceived WhatsApp messages in Zammad?
Check: (1) Your webhook is verified and active in Meta Developer. (2) Your Verify Token in Zammad matches Meta exactly. (3) Your Zammad instance is publicly reachable with a valid HTTPS certificate. (4) Your WhatsApp channel is assigned to an active Zammad group with agents. Review Zammad's system logs for delivery errors.
Do I need a Meta Business Account for Zammad WhatsApp?
Yes. The Cloud API is managed through a Meta Business Account. Personal Facebook accounts cannot create WhatsApp API apps. Create a free Business Account at business.facebook.com if you don't have one.
Can I use WhatsApp Business mobile app with Zammad (or dedicated API number)?
No. The Cloud API uses a separate, dedicated phone number that is not tied to any WhatsApp Business mobile app. If you already have a WhatsApp Business app running, you cannot migrate that number to the Cloud API. You must register a new phone number.
The Bottom Line
Zammad WhatsApp integration is straightforward if you respect the 24-hour window and have your Meta credentials ready. The setup is genuinely fast--you're gluing together two services that are already built to talk to each other.
The real question is whether WhatsApp fits your support workflow. If your team responds to inbound messages the same day, it's a no-brainer. If you're doing outbound follow-ups or working across multiple time zones, it's a friction point. Honest self-assessment here saves you setup time and customer frustration later.
WhatsApp alone is not a helpdesk. It's one channel inside Zammad. For the full picture--managing email, chat, phone, and social alongside WhatsApp--run Zammad on reliable managed hosting so your webhooks never fail and your team never misses a window.