BroadNet
WhatsApp integration·/whatsapp

WhatsApp API integration.

Step-by-step integration of WhatsApp Business API via BroadNet — embedded sign-up, template submission, sending, webhooks for inbound. Every message category.

12 min read·Updated September 2026·Section 11 of 15Developer Hub

Overview

End-to-end integration of the WhatsApp Business API through BroadNet: embedded sign-up, template submission and sending. Sends go through POST /whatsapp/message/sendbulk with messageType TEXT, IMAGE, VIDEO, AUDIO, DOCUMENT, STICKER, LOCATION, CONTACTS, TEMPLATE, INTERACTIVE, REACTION or FLOW. The response carries a batch ID, and per-recipient status (SUBMITTED, SENT, DELIVERED, READ, FAILED, REJECTED) is pushed to your webhook and readable at /whatsapp/message/bulk-insights.

Examples

Copy, paste, replace the placeholders — these examples call the production API as written.

template sendbash
curl -X POST https://api.broadnet.me/whatsapp/message/sendbulk \
  -H "Authorization: Bearer $BROADNET_TOKEN" \
  -F batchId=0 \
  -F campaignName=order-updates \
  -F destinationNo=447700900123 \
  -F messageType=TEMPLATE \
  -F templateName=order_update \
  -F templateLanguage=en_US \
  -F bodyTemplateVariables=INV-400
whatsapp.tstypescript
import { Configuration, WhatsAppWhatsAppMessagingAPIApi } from "@broadnet/cpaas-sdk";

const wa = new WhatsAppWhatsAppMessagingAPIApi(
  new Configuration({
    basePath: "https://api.broadnet.me",
    accessToken: process.env.BROADNET_TOKEN!,
  }),
);

const res = await wa.whatsappMessageSendbulkPost({
  campaignName: "order-updates",
  messageType: "TEXT",
  destinationNo: "447700900123",
  content: "Your order has shipped.",
});

console.log(res.data); // batchId + per-file acceptance counts
↳ Official TypeScript SDK · npm install @broadnet/cpaas-sdk axios
Test access · reply within one business day

Request test access and build with confidence.

We reply within one business day with test credentials. Then install the TypeScript SDK or call the REST API from any language, and send your first test message to your own number.

$npm install @broadnet/cpaas-sdk axiosready