WhatsApp Business Cloud API
Commercialby Meta
Meta-hosted API for sending and receiving WhatsApp messages at scale, the dominant business messaging channel in Singapore. Supports templates, interactive messages, media and webhooks.
How to authenticate
- 1Create a Meta developer account and a Business app at developers.facebook.com.
- 2Add the WhatsApp product; you get a test number and temporary token instantly.
- 3Verify your business and register your own number to go beyond the 5-recipient test limit.
- 4Generate a permanent system-user token with whatsapp_business_messaging permission.
- 5Configure a webhook (with verify token) to receive inbound messages.
Example request
curl -X POST 'https://graph.facebook.com/v21.0/PHONE_NUMBER_ID/messages' -H 'Authorization: Bearer TOKEN' -H 'Content-Type: application/json' -d '{"messaging_product":"whatsapp","to":"65XXXXXXXX","type":"text","text":{"body":"Hello from SG"}}'Example response
{"messaging_product":"whatsapp","contacts":[{"input":"65XXXXXXXX","wa_id":"65XXXXXXXX"}],"messages":[{"id":"wamid.HBg..."}]}Notes for AI agents
Business-initiated conversations outside the 24-hour window require pre-approved template messages. Per-conversation pricing applies once past the free tier; free-form replies only within 24h of the user's last message.
Machine-readable version: /api/apis/whatsapp-cloud-api
Related APIs
Bird (MessageBird) API
Bird
Omnichannel messaging API (SMS, WhatsApp, email, voice) from the company formerly known as MessageBird, with SG SMS routes and sender ID support. Alternative CPaaS to Twilio with channel-agnostic message objects.
Telegram Bot API
Telegram
Free HTTP API for building Telegram bots, one of the most-used notification and community channels among Singapore developers, businesses and even government services. Instant setup with a single token from BotFather.
Twilio API (SMS and Voice, SG numbers)
Twilio
Programmable SMS, voice, WhatsApp and verification APIs with Singapore phone numbers and local compliance handling (SGNIC registration for SMS sender IDs). The default CPaaS for SG OTP and notification flows.