WhatsApp Business API Integration
Send and receive WhatsApp messages programmatically — at scale
Full WhatsApp Business Cloud API integration: send template messages, receive and auto-reply to incoming messages, handle media, build chatbots, and integrate with Laravel/CodeIgniter/WordPress. Works at scale — thousands of messages per day.
Overview
The WhatsApp Business API (now WhatsApp Cloud API, hosted by Meta) lets your business send and receive WhatsApp messages programmatically — critical for order updates, OTP, customer support, and marketing campaigns. Unlike WhatsApp Business App (limited to one device), the Cloud API scales to millions of messages per day.
I've built WhatsApp integrations for e-commerce order notifications (PDF receipts via WhatsApp), appointment reminders for clinics, OTP delivery, chatbot-driven customer support, and bulk marketing campaigns with opt-out handling.
In 2026, WhatsApp is often the highest-ROI channel for Indian businesses — open rates exceed 95% (vs ~20% for email, ~8% for SMS), and response rates for customer service average 3–5× higher than phone or email.
WhatsApp Business API integration process
- Meta Business account setup — verify business, phone number, display name approval (2–5 days on Meta's side)
- Template submission & approval — pre-register every automated message template (order confirmation, OTP, shipping update, etc.). Meta approves each template within hours.
- Server-side integration — Laravel/PHP service to send template messages, handle media, manage conversations
- Webhook handler — receive incoming messages, delivery receipts, read receipts, status updates
- Session management — 24-hour customer service window logic (free-form vs template messages)
- Chatbot / auto-reply (optional) — decision trees, LLM-powered replies, fallback to human agent
- Opt-in management — consent capture, opt-out ("STOP") handling, compliance with WhatsApp commerce policy
- Analytics dashboard — delivery rates, read rates, conversation metrics
Common WhatsApp Business API use cases
- Order confirmations & shipping updates — replace SMS for e-commerce
- OTP delivery — higher delivery rate than SMS in many regions
- Appointment reminders — clinics, salons, service businesses
- Customer support chatbot with human agent handoff
- Bulk marketing (with opt-in) — product launches, offers, newsletters
- Catalogue & commerce — browse and buy inside WhatsApp
- Payment requests — integrated with Razorpay / payment links
- COD order confirmation — reduce RTO (return to origin) rates
What's included
- Send template messages (approved templates)
- Receive & reply in 24h customer service window
- Send media — images, PDF, video, audio, location
- Interactive messages — buttons, lists, CTAs
- WhatsApp Flows (multi-step forms in WhatsApp)
- Catalogue & product messages
- Broadcast to opted-in users
- Chatbot with LLM integration (OpenAI, Claude)
- Agent handoff (live chat)
- Opt-in/opt-out compliance
- Delivery & read receipts
- Analytics dashboard
Tech stack
What you get on delivery
- Meta Business verification assistance
- Template creation & submission (up to 10 templates)
- Send + receive implementation
- Webhook handler with status tracking
- Opt-in / opt-out management
- Admin UI for message logs & templates
- Optional chatbot (extra scope)
- 30 days free bug fixes
Frequently asked questions about WhatsApp Business API Integration
How much does WhatsApp Business API integration cost?
Integration: ₹25,000–₹60,000 for standard send/receive + template management. ₹80,000–₹2,00,000 for chatbot with LLM + agent handoff. WhatsApp platform fees paid separately to Meta: ~₹0.35–₹0.80 per conversation depending on category (utility, marketing, authentication, service) — billed monthly to your Meta account.
Do I need to apply to Meta before integrating?
Yes. You need a Meta Business account with verified business, a phone number (not yet used on WhatsApp personal or Business App), and at least one approved message template. I handle the entire onboarding process — typical timeline is 2–7 days for Meta approvals.
Can I use my personal WhatsApp number?
No — the number registered for API use cannot also be used on the WhatsApp mobile app. Most businesses use a new dedicated number or a landline.
What's the difference between WhatsApp Cloud API and On-Premise API?
Cloud API (current recommendation) — hosted by Meta, no infra to manage, free to start. On-Premise API (legacy, being phased out) — self-hosted, more control but higher DevOps cost. All new integrations should use Cloud API.
Can WhatsApp integration work with my Laravel e-commerce?
Yes. I integrate WhatsApp Business API into Laravel, WooCommerce, Shopify (via webhook), and custom PHP systems. Typical first use case: automated order confirmation + shipping update + delivery notification to the customer's WhatsApp.
Do I need to register every message template?
Yes — for any automated business-initiated message, Meta requires pre-approved templates. Customer-initiated conversations (where the user messages you first) have a 24-hour "service window" where you can send free-form replies.
Can you build a chatbot inside WhatsApp?
Yes — I build both rule-based bots (decision trees, menus) and LLM-powered bots (using OpenAI, Claude, or Gemini) with seamless handoff to human agents when the bot can't help. Typical use: customer support triage, appointment booking, product discovery.
Is bulk marketing allowed on WhatsApp?
Yes, but only to users who have opted in. Blasting uninvited messages violates WhatsApp Business Policy and risks immediate number ban. I build proper opt-in flows (SMS, website, QR code) and opt-out handling ("STOP" keyword).
How does WhatsApp API per-message pricing work?
Meta charges per delivered template message. The rate depends on the template category: marketing costs the most, utility and authentication cost a fraction of that, and service replies inside the 24-hour customer window are free. Utility templates sent inside an open service window are also free — well-designed flows exploit this to cut costs significantly. Meta publishes per-country rates and revises them periodically.
Should I use the WhatsApp Cloud API directly or a platform like WATI or Interakt?
Platforms like WATI, Interakt, Gupshup and AiSensy are resellers (BSPs) of the same Meta API — convenient dashboards, but you pay a monthly subscription plus a markup on every message, and your customer data lives in their system. Direct Cloud API integration costs only Meta's per-message rates, keeps data on your own server, and integrates natively with your application. If you send meaningful volume or need custom automation, direct integration is almost always cheaper within the first year.
How do I get the green tick (verified badge) on WhatsApp Business?
The green tick is granted by Meta to Official Business Accounts. Prerequisites: completed Meta Business verification, an active WhatsApp Business API number in good standing, and passing Meta's review (notability-based, or via a Meta Verified subscription in supported markets). I prepare the business profile, display name and verification submission as part of the integration — approval itself remains at Meta's discretion.
How many messages per day can I send with the WhatsApp Business API?
New numbers start with a limit of 250 business-initiated conversations per 24 hours. After business verification the limit rises to 1,000, then scales automatically to 10,000, 100,000 and effectively unlimited as your sending volume grows while maintaining a good quality rating. Replies to customers who message you first are not limited. The integration I build throttles itself to your current tier, so campaigns queue instead of failing.
WhatsApp API pricing: what messages actually cost
Since mid-2025 Meta bills the Cloud API per delivered template message, not per 24-hour conversation. Every template is assigned one of four categories, and the category decides the rate:
- Marketing — promotions, offers, re-engagement campaigns. The most expensive category.
- Utility — order confirmations, shipping updates, payment reminders. A fraction of the marketing rate, and free when sent inside an open customer-service window.
- Authentication — OTPs and login codes, priced close to utility.
- Service — free-form replies to customers inside the 24-hour window are free.
Two practical consequences shape every build: templates must be written and categorised so transactional messages are not misclassified as marketing, and support flows should keep replies inside the free service window. Both are handled as part of this integration. Country-by-country rates are published on Meta's pricing page.
Cloud API direct vs BSP platforms (WATI, Interakt, Gupshup, AiSensy)
Most "WhatsApp marketing tools" are Business Solution Providers reselling the same Meta API behind a monthly subscription, per-seat fees, and a markup on every message. Integrating the Cloud API directly means you pay Meta's rates only — no subscription, no markup — and messages flow through your own server and database instead of a third-party dashboard. The trade-off is that direct integration needs engineering, which is exactly what this service delivers. For a business sending a few thousand messages a month, going direct typically pays for itself within the first year — and you own the code and the data.
Engineered for scale and deliverability
A production WhatsApp integration is more than an HTTP call to the Graph API. Every build ships with:
- Queued sending with retries — Laravel queue workers batch bulk sends, respect Meta's rate limits, and survive transient API failures without dropping messages
- Webhook signature verification — incoming payloads are validated against Meta's app secret, so delivery statuses and inbound messages cannot be spoofed
- Messaging-limit awareness — new numbers start at 250 business-initiated conversations per day and scale in tiers (1K → 10K → 100K → unlimited) as volume and quality grow; the sender throttles itself to the current tier instead of erroring
- Quality-rating protection — opt-out handling, frequency caps and template hygiene that keep the number's quality rating healthy, because a flagged number loses its messaging tier overnight
Works with the stack you already run
The integration layer is framework-native, not a bolted-on widget. For Laravel it arrives as a service class plus notification channel, so ->notify() can reach WhatsApp the same way it reaches mail. For WooCommerce / WordPress it hooks order-status transitions to send confirmations and shipping updates automatically. For CodeIgniter and plain-PHP applications it is a drop-in library with the same queue-backed reliability. It also pairs naturally with Razorpay payment links for collect-via-WhatsApp flows, and can be extended into a full WhatsApp chatbot with human-agent handoff.
Official Business Account — the green tick
The verified badge next to a business name is granted by Meta, not purchased outright: it requires completed Meta Business verification, an active API number with clean quality history, and either notability review or a Meta Verified subscription depending on the market. The integration includes preparing the business profile, display-name approval, and submitting the verification request with the documentation Meta expects — which materially improves approval odds, though final say is always Meta's.
Ready to integrate Meta WhatsApp Cloud API?
Free 30-minute discovery call. Fixed-price quote within 24 hours.