Skip to main content
WhatsApp is one of the highest-engagement messaging channels in the world, and Botsify gives you a first-class API for reaching your subscribers there. You can define reusable message templates, broadcast them to lists of users, and pull detailed delivery reports — all through a handful of straightforward API calls. This guide walks you through each step.
WhatsApp requires pre-approved message templates. Unlike SMS or Messenger, WhatsApp Business only allows you to initiate conversations using templates that have been reviewed and approved by Meta. You must create a template through the Botsify API (or dashboard) and wait for approval before you can send it to users. Session replies — messages sent within an active 24-hour conversation window — do not require a template.

Overview

The WhatsApp workflow in Botsify has four stages:
  1. Create templates — define the message structure (text, media, buttons) and submit for approval.
  2. Fetch templates — retrieve your approved and pending templates to use in broadcasts.
  3. Send a broadcast — dispatch a template message to one or more recipients.
  4. Pull a report — measure delivery, read rates, and failures over a date range.

Step 1 — Fetch existing templates

Before creating a new template, check what you already have. GET /api/v1/media-block/fetch returns your full list of WhatsApp message templates.
The response is an array of template objects. Each template includes its name, approval status, and content structure. Note the template name of any approved templates — you will reference them when sending a broadcast.

Step 2 — Create a template

Use POST /api/v1/media-block/create to submit a new WhatsApp message template for approval. You can optionally append the template type to the path (e.g. POST /api/v1/media-block/create/text or POST /api/v1/media-block/create/media) to specify the template category.
After submission, the template enters a review queue. Approval typically takes a few minutes to a few hours depending on Meta’s review process. Poll GET /api/v1/media-block/fetch to check when the status changes to APPROVED.

Step 3 — Send a single broadcast

Once you have an approved template, use POST /api/v1/whatsapp/single-message-send to dispatch it to one or more recipients.
Request body fields

Step 4 — Pull a broadcast report

After sending, retrieve delivery metrics for any date range using POST /api/v1/whatsapp-broadcast-report.
Request body fields The response includes broadcast-level statistics for all WhatsApp sends that occurred within the specified window — including sent counts, delivery confirmations, and read receipts where available.

Quick-reference summary

Fetch templates

GET /api/v1/media-block/fetch
List all your WhatsApp templates and their approval status.

Create template

POST /api/v1/media-block/create
Submit a new template for Meta review and approval.

Send broadcast

POST /api/v1/whatsapp/single-message-send
Dispatch an approved template to one or more phone numbers.

Broadcast report

POST /api/v1/whatsapp-broadcast-report
Retrieve delivery and engagement stats for a date range.

Next steps

  • Measure overall engagement — combine WhatsApp broadcast data with your bot’s full message stats in Analytics.
  • Trigger broadcasts from your backend — chain the send endpoint into your order management, CRM, or notification system using the same API key pattern.