To add the WhatsApp Business API to your website, sign up with a WhatsApp Business Solution Provider, register a business phone number, then connect your site in three ways: a chat button so visitors can start a conversation, opt-in checkboxes on your forms so you can message customers later, and API calls from your website or backend that send order updates, OTPs and reminders as approved template messages. A shared inbox lets your team answer the chats that come in.
If you are still deciding whether WhatsApp is the right channel, see WhatsApp vs SMS for OTPs and our guide to WhatsApp Business API pricing in India.
App, link or API: what you actually need
| Option | What it does | Good for | Limits |
|---|---|---|---|
| Click-to-chat link | Opens WhatsApp with your number from a button | Very small businesses | No automation, no shared inbox |
| WhatsApp Business app | Free app on a phone | A few people answering chats | Limited devices, no system integration |
| WhatsApp Business API | Programmatic messaging through a provider | Teams, automation, order and OTP messages | Needs setup, templates and per-message fees |
Step 1: Get access through a provider
Businesses reach the API through a Meta Business Solution Provider or Meta's own Cloud API. A provider usually handles onboarding, number registration, display name approval, template submission and billing, and gives you a dashboard and inbox so you do not have to build them. You will need a verified Meta Business account, a phone number not already used on WhatsApp, and your business details. Once Meta verifies your business, setup usually takes days rather than weeks.
Step 2: Add a chat entry point to your site
- Floating chat button on every page, opening a WhatsApp chat with your business number and a pre-filled message such as the product or page name.
- Contextual buttons on product, pricing and support pages, so you know where each chat started.
- QR codes on desktop pages, so visitors can continue the chat on their phone.
When a visitor sends the first message, a 24-hour customer service window opens. Inside it your team, or an automated assistant, can reply with free-form text, images and documents.
Step 3: Collect opt-in on your forms
To message customers first, for example with an order confirmation, you need their permission. Add a clear, unticked checkbox to checkout, sign-up and enquiry forms, such as "Send me order updates on WhatsApp", and store the consent with a timestamp. Say what kind of messages they will get and how to stop them.
Step 4: Send messages from your website backend
Outside the 24-hour window, businesses can only send pre-approved template messages. Typical website-triggered templates are:
- Authentication: one-time passwords for login or checkout.
- Utility: order confirmations, shipping updates, appointment reminders, payment receipts.
- Marketing: offers, abandoned-cart reminders and product news, only to customers who opted in to marketing.
Your website or e-commerce system calls the provider's API when an event happens, such as an order being placed, and passes the template name and the customer's details. Use buttons and quick replies in templates so customers can confirm, reschedule or track in one tap.
Step 5: Route replies to your team
Customers will reply to your messages. Connect incoming chats to a shared inbox or your CRM, set up automatic answers for common questions, and route the rest to the right team. Fast replies inside the window matter: they are the cheapest messages you can send and the ones customers value most.
Measure what works
Track how many website visitors start a chat, how many opt in on forms, delivery and read rates for each template, how fast your team replies, and how many chats turn into orders or bookings. Tag chats by the page they started on, so you can see which buttons and pages drive conversations and which templates customers ignore. Review templates every month and retire the ones with low read rates; low engagement on marketing templates can also affect how widely you are allowed to send them.
Know the pricing rules first
According to Meta's developer documentation, the WhatsApp Business Platform has charged per delivered message since 1 July 2025, rather than per conversation. Template messages are priced by category (marketing, utility and authentication) and by the recipient's country. Messages from customers to your business are not charged. Meta's documentation also gives each business phone number 1,000 free service messages per month, and notes that, from 1 October 2026, utility templates sent inside an open customer service window are charged. When a customer starts a chat from a click-to-WhatsApp ad or a Facebook page call to action, a free entry point window of up to 7 days applies.
Pricing rules change, so check Meta's current documentation and your provider's rate card before planning campaigns.
Website integration checklist
- Verified Meta Business account and a dedicated business number.
- Chat buttons with pre-filled context on key pages.
- Opt-in checkboxes with stored consent.
- Approved templates for each website event.
- API calls from your backend, with retries and delivery tracking.
- A shared inbox and handover from automated replies to people.
- An SMS fallback for customers not on WhatsApp.
How Voxvalley helps
The Voxvalley WhatsApp Business API runs on the same platform as your SMS and voice, with Meta Business Solution Provider-backed delivery. We take you through WhatsApp Business account setup, number registration and display name approval, and help you create and submit utility, authentication and marketing templates, then send them by API or from a campaign. You can reply inside the customer service window with text, images, documents, video and location, use buttons and list messages, run campaigns with sent, delivered and read counts, and answer customers from a shared live inbox.
WhatsApp spend draws from the same prepaid wallet as SMS, RCS, voice and AI agents, so you can fall back to SMS through our Messaging API when a customer is not on WhatsApp. Start with a free trial.