⌕

Connected WhatsApp Status

No device connected

Developer API & WhatsApp Cloud Platform

Use your connected Official Meta WhatsApp Business Account to trigger templates, text, OTPs, and media programmatically via REST API.

0WhatsApp Credits
Your Production API Key
Pass this key in the x-api-key HTTP header with every API request. Never expose it in client-side code.
Authentication: x-api-key: lf_live_...Base URL: https://api.leadsflyer.com/api/v1
📖

Quickstart Guide — Official WhatsApp Messaging API

POST /api/v1/messages

Integrate official WhatsApp templates, notifications, and alerts in 3 simple steps.

1

Authenticate With Header

Pass your secret API key with every request in the HTTPS request header:

x-api-key: YOUR_API_KEY

Base URL: https://leadsflyer.com/api/v1

2

Select Template ID or Name

Identify your approved Meta template using numeric ID or name:

{ "template_id": 76 }

Or: "template_name": "order_alert"

3

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.

💡Recipient Format: Include country code with no symbols (e.g. +919876543210 or 919876543210).
⚡Real-time Status: Messages dispatch via Meta Cloud and callbacks update Live Logs automatically.

API Message Tester

Send live messages directly through your connected Official Meta WhatsApp number.

Include country code (e.g. 91 for India, 1 for USA). No spaces or dashes.

Live API Response

Real-time HTTP response received from LeadsFlyer and Meta Graph API.

⚡
Fill in the message parameters on the left and click "Send Live Message via API" to see the real JSON response.
💡 Identification Tip:

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)

WHATSAPP MESSAGING API — CURL EXAMPLE
# 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"]
  }'