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:- Create templates — define the message structure (text, media, buttons) and submit for approval.
- Fetch templates — retrieve your approved and pending templates to use in broadcasts.
- Send a broadcast — dispatch a template message to one or more recipients.
- 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.
Step 2 — Create a template
UsePOST /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.
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, usePOST /api/v1/whatsapp/single-message-send to dispatch it to one or more recipients.
Step 4 — Pull a broadcast report
After sending, retrieve delivery metrics for any date range usingPOST /api/v1/whatsapp-broadcast-report.
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/fetchList all your WhatsApp templates and their approval status.
Create template
POST /api/v1/media-block/createSubmit a new template for Meta review and approval.
Send broadcast
POST /api/v1/whatsapp/single-message-sendDispatch an approved template to one or more phone numbers.
Broadcast report
POST /api/v1/whatsapp-broadcast-reportRetrieve 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.
