WhatsApp Business API Integration: Professional Global Customer Support
If Zalo is the "king" in Vietnam, then WhatsApp is the "ruler" of the world. If your business operates in tourism, exports, or sells to foreigners (Expats), not having WhatsApp is like opening a store with the front door closed.
WhatsApp Business API enables you to communicate professionally with international customers, automate your customer care workflows, and especially earn the "Green Tick" to affirm brand credibility.
1. WhatsApp Cloud API - A New Era
Previously, using the WhatsApp API required going through intermediary partners (BSPs) like Twilio or Infobip at very high costs. Now, Meta has launched the Cloud API, allowing businesses to connect directly to Meta's servers for free (paying only for messages).
2. Pricing Model (Conversation-Based Pricing)
Unlike SMS, which charges per message, WhatsApp charges per 24-hour conversation session:
- User-Initiated (Customer messages first): Very affordable. The first 1,000 conversations each month are free.
- Business-Initiated (You message first): More expensive. Used for sending marketing notifications and OTPs.
3. Technical Guide (Meta Cloud API)
Step 1: Setup on Meta Developers
- Create a "Business" type App on Meta Developers.
- Add the "WhatsApp" product.
- Retrieve your <code>Temporary Access Token</code> and <code>Phone Number ID</code>.
Step 2: Send a Template Message
Suppose you have created a template named <code>hello_world</code> in the admin dashboard.
<code>$token = 'YOUR_ACCESS_TOKEN';
$phoneId = 'YOUR_PHONE_NUMBER_ID';
$recipientPhone = '84909123456';
$url = "https://graph.facebook.com/v18.0/$phoneId/messages";
$data = [
'messaging_product' => 'whatsapp',
'to' => $recipientPhone,
'type' => 'template',
'template' => [
'name' => 'hello_world',
'language' => ['code' => 'en_US']
]
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer ' . $token,
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$result = curl_exec($ch);</code></pre>
Step 3: Receive Messages (Webhook)
<p>WhatsApp's Webhook structure is quite similar to Messenger's (since both are owned by Meta).
<code>// Process JSON from Webhook
$input = json_decode(file_get_contents('php://input'), true);
if (isset($input['entry'][0]['changes'][0]['value']['messages'][0])) {
$message = $input['entry'][0]['changes'][0]['value']['messages'][0];
$from = $message['from']; // Customer phone number
$text = $message['text']['body']; // Message content
// Auto-reply logic or save to CRM
}</code></pre>
4. Applying for the WhatsApp Green Tick
<p>This is the "holy grail" that every business wants. To get the green tick next to your display name:
- Your Business account must complete Business Verification.
- Verify your Display Name.
- Enable Two-Factor Authentication (2FA).
- Most importantly: Your brand must have strong visibility (Searchability) and media coverage. JAYbranding offers PR and media placement services to increase your Green Tick approval rate.
5. JAYbranding's Services
We help you integrate WhatsApp into your Omni-channel contact center system:
- ✅ Multi-Agent: One WhatsApp number, but multiple staff members can handle chats simultaneously on their computers.
- ✅ Automation: Automatically send Booking confirmation messages (hotels/tours) to WhatsApp as soon as a customer books on your website.
- ✅ Broadcast: Send bulk messages to your existing customer list (fully compliant with Meta's policies).
📞 Reach international customers professionally!
Hotline: 0989 971 131
FAQ About WhatsApp API
[faqs]
#### Can I use a personal phone number to register for the API?
Yes, but that number will be converted into a Business number and can no longer be used with the regular WhatsApp app for chatting (it must be used through integrated software). We recommend using a separate, dedicated number.
#### What happens if a customer blocks us?
Your phone number's Quality Rating will drop. If it drops to Red, Meta will restrict your ability to send template messages.
[/faqs]