API Docs — Templates Restructure & Campaigns Endpoints
Expanded API reference with full Templates and Campaigns sections, plus a refreshed LLM reference.
Templates — now a full section
The single templates.md page has been replaced with a structured section covering the complete template lifecycle:
- Create Template — submit a standard template (text, media, buttons) for approval
- Create Carousel Template — media-card carousels (2–10 cards, MARKETING category)
- List Templates — fetch templates available on your account
- Sync Templates — pull the latest template state from Meta
Campaigns — new API section
Send and track WhatsApp campaigns directly via the API:
- Create Campaign — create a draft or scheduled campaign from a list of phone numbers (auto-upserts contacts, up to 10,000 recipients per call)
- Send Campaign — dispatch a draft campaign asynchronously; track per-message delivery via webhooks
- Campaign Stats — aggregate stats covering sent, delivered, read, clicked, failed, and replied
Other updates
- LLM Reference expanded with the new templates and campaigns endpoints for AI-assisted integrations
- Send Template Message — corrected the templates listing endpoint reference
- Overview now links directly into Templates and Campaigns sections
- API sidebar reorganized to match the new structure