Example repo: github.com/gokapso/whatsapp-broadcasts-example
Complete workflow
Step 1: Create broadcast
- Phone number must be production type (not sandbox)
- Template must be approved
Step 2: Add recipients
Add up to 1,000 recipients per request. Repeat for batches over 1,000. Recipients use Meta’s component syntax to populate template variables.Body parameters
For templates with body text variables:Button parameters
For templates with dynamic button URLs:Media headers
For templates with image/video/document headers:Response format
Step 3: Send broadcast
Trigger async send job:Step 4: Track progress
Response metrics
Status transitions
draft→sending→completed,failed, orstoppeddraft→scheduled→sending- Poll every 5-10 seconds during send
- Check
status,completed_at, andstopped_atfor terminal states
Stop a broadcast
Stop a broadcast that is currently sending:Additional features
Clear recipients
Remove all recipients from a draft or scheduled broadcast:draft and clears scheduled_at.

