How to Set Up the WhatsApp Business API Step by Step in 2026
By Marai ·
Connecting your business to the WhatsApp Business API is no longer a months-long project or something that requires a technical team. In 2026, the process has become significantly simpler — but there are still steps you need to understand to avoid wasting time and money.
This guide takes you from zero to a working API, with automatic reminders and a chatbot handling your clients.
WhatsApp Business App vs. WhatsApp Business API: The Key Difference
Before configuring anything, it is worth being clear on the difference between the two options Meta offers.
WhatsApp Business App is the free mobile application you download on your phone. It lets you create a business profile, set up quick replies, and publish a service catalog. It works well for sole traders handling a few appointments a day, but it does not allow automating anything — every message is sent manually, by you.
WhatsApp Business API is a technical interface that allows external software (such as an appointment management system) to send and receive messages on your behalf. With the API you can:
- Send automatic reminders without touching your phone
- Connect an AI chatbot that handles bookings on its own
- Process confirmations and cancellations automatically
- Handle simultaneous conversations with no device limit
The API does not replace the app — they are different products. The app is for manual communication. The API is for real automation.
Prerequisites to Access the API
Meta requires certain conditions before granting you API access. Here are the essential ones:
1. A Verified Meta Business Account
You need an account on Meta Business Suite with completed business verification. Verification requires submitting legal documentation for your business (tax ID, articles of incorporation, or freelancer certificate) for Meta to validate. This process takes between 2 and 10 business days, depending on the documentation.
2. A Dedicated Phone Number
The number you connect to the API cannot be linked to a personal WhatsApp account or the WhatsApp Business App. If you already use a number for WhatsApp Business, you will need to migrate it (losing the chat history) or use a new number.
Recommendation: Use a new number dedicated exclusively to the API. It is cleaner and avoids migration issues.
3. A Published Privacy Policy
Meta requires your business to have a publicly accessible privacy policy (on your website, for example) that mentions the use of data through WhatsApp.
4. A Business Solution Provider (BSP)
You cannot connect directly to Meta’s API. You need an intermediary provider — what Meta calls a Business Solution Provider (BSP). This provider manages the technical infrastructure and gives you API access through their platform.
Three Ways to Set Up the API
Option A: Directly with Meta (Cloud API)
Meta offers its own hosted version of the API, the Cloud API. It is free in terms of infrastructure (you only pay per conversation) and is configured from Meta’s developer dashboard.
Advantages: No provider cost, extensive documentation. Disadvantages: Requires technical knowledge for integration, includes no management panel or chatbot. You need a developer.
Option B: Through a BSP
Providers such as Twilio, 360dialog, or MessageBird handle all the technical side. You just configure your account, verify your business, and start sending messages from their panel.
Advantages: Management panel included, technical support, pre-configured webhooks. Disadvantages: Monthly cost on top of Meta’s per-conversation fee.
Option C: Through Software That Already Integrates the API
This is the simplest option for service businesses. Tools like Marai already include the API connection as part of the product. You do not need to configure anything with Meta, hire a BSP, or touch any code.
Advantages: Everything integrated (scheduling + WhatsApp + chatbot + reminders), no technical configuration required. Disadvantages: You depend on the software for channel management.
Step-by-Step Setup (with Marai)
If you choose the integrated route, the entire process takes under 15 minutes:
Step 1: Create Your Marai Account
Register at app.maraiagenda.com/register and configure your business: name, address, services, and hours.
Step 2: Connect Your WhatsApp Number
From the Marai dashboard, go to the integrations section and select WhatsApp. Scan the QR code with your phone to link the number. Marai manages the connection through Evolution API, a provider that handles the technical infrastructure.
Step 3: Configure Message Templates
Templates are the pre-defined messages the system will send automatically: booking confirmation, 24-hour reminder, 1-hour reminder, post-appointment follow-up. Marai includes default templates that you can customize with your business name and tone.
Step 4: Activate the WhatsApp Bot
Marai’s WhatsApp bot uses artificial intelligence to understand what clients write in natural language and manage the entire conversation: from service selection through to booking confirmation. It is activated with a toggle — no coding required.
Step 5: Run a Test
Send yourself a message from another number to verify everything works. Check that the bot responds, that available slots are displayed correctly, and that the confirmation reaches the client and appears in your calendar.
Real Costs of the WhatsApp Business API in 2026
Meta charges per conversation, not per individual message. A conversation lasts 24 hours from the first message.
| Conversation Type | Approximate Cost (Spain) |
|---|---|
| Business-initiated (reminder, notification) | €0.04 - €0.08 |
| Client-initiated (inquiry, booking) | €0.02 - €0.04 |
| Service conversations (first 1,000/month) | Free |
These are Meta’s costs. If you use a BSP, add their monthly fee (between €30 and €150/month depending on the provider and volume).
With Marai, API costs are included in the plan. The Starter plan (€29/month) includes integrated WhatsApp with no additional per-conversation charge within the plan limits.
Common Mistakes When Setting Up the API
Using the same number for the app and the API. They are incompatible. Choose one or the other, or use different numbers.
Not verifying the business before starting. Meta’s verification can take days. Start there while you prepare everything else.
Sending messages without an approved template. Proactive messages (business-initiated) require templates pre-approved by Meta. If you send messages without a template, the API will reject them.
Not configuring bot hours. Define when the bot responds and when it transfers to a human. A bot that replies at 3am with incorrect information creates more problems than it solves.
Is It Worth It for a Small Business?
If you handle more than 10 appointments a day, yes. The time saved on manual messages, the reduction in no-shows from automatic reminders, and the bookings captured outside business hours more than justify the cost.
If you handle fewer than 10 appointments a day, the free WhatsApp Business App may be sufficient for now. But keep in mind that when you grow, migration will become inevitable.
The question is not whether you will need the API — it is when.
See how Marai’s WhatsApp bot works →
Get started for free → — The free plan includes scheduling and a booking portal. WhatsApp integration is available from the Starter plan (€29/month).