messaging
WhatsApp integration
Provision numbers, send template messages, run a full inbox.
Overview
Buy a WhatsApp Business number through one API call — we handle the regulatory paperwork. Send template and session messages, receive inbound messages via webhook, and reply through the inbox SDK.
Quick start
blazto.tsTypeScript
import { Blazto } from "@blazto/node";
const blazto = new Blazto(process.env.BLAZTO_API_KEY);
// Provision a number — KYC handled for you
const number = await blazto.whatsapp.phoneNumbers.purchase({
countryCode: "US",
});
// Send a template message
await blazto.whatsapp.messages.send({
to: "+14155550142",
template: "order_shipped",
variables: { eta: "14:20" },
});What you can do
- ✓Provision numbers in 54 countries
- ✓Send approved template messages
- ✓Two-way conversation through webhooks
- ✓Media, buttons, and list messages
Key endpoints
POST
Buy a WhatsApp Business number./whatsapp/phone-numbers/purchasePOST
Send a template or session message./whatsapp/messagesPOST
Receive inbound messages./webhooks/whatsappBuilt for
Order updates
Send shipping notifications customers actually read.
AI support agents
Give your agent a real phone number to reply from.
Related integrations
Ship the WhatsApp integration today
One API key, one SDK, every platform you need.
Start for free