Developer API & WhatsApp Cloud Platform
Use your connected Official Meta WhatsApp Business Account to trigger templates, text, OTPs, and media programmatically via REST API.
x-api-key HTTP header with every API request. Never expose it in client-side code.Quickstart Guide — Official WhatsApp Messaging API
POST /api/v1/messagesIntegrate official WhatsApp templates, notifications, and alerts in 3 simple steps.
Authenticate With Header
Pass your secret API key with every request in the HTTPS request header:
x-api-key: YOUR_API_KEYBase URL: https://leadsflyer.com/api/v1
Select Template ID or Name
Identify your approved Meta template using numeric ID or name:
{ "template_id": 76 }Or: "template_name": "order_alert"
Pass Dynamic Variables
Map your custom parameters to the template's {{1}}, {{2}} fields:
"variables": ["John Doe", "#LF-10492"]Meta merges parameters and delivers to recipient WhatsApp.
+919876543210 or 919876543210).API Message Tester
Send live messages directly through your connected Official Meta WhatsApp number.
Live API Response
Real-time HTTP response received from LeadsFlyer and Meta Graph API.
You can trigger templates in your own code by either template_id (e.g. 14) or template_name (e.g. "order_confirmation"). Both work seamlessly!
Integration Code Snippet (Live Generated)
Pre-filled with selected template (None) and entered variables. (API key is hidden for security)
# Send WhatsApp Message via Official Meta Cloud API
curl -X POST https://api.leadsflyer.com/api/v1/messages \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"to": "+919876543210",
"template_id": 14,
"variables": ["John Doe", "#LF-10492"]
}'