Eedesy
Book Demo
HomeProductsContact
Waflow
  • Introduction
  • Quick Start
  • WhatsApp Setup
  • Overview
  • Create Workspace
  • Team Management
  • Overview
  • Import Contacts
  • Tags & Segments
  • Custom Fields
  • Overview
  • Create Template
  • Variables
  • Approval Process
  • Overview
  • Create Campaign
  • Scheduling
  • Tracking
  • Overview
  • Reports
  • Overview
  • Drip Sequences
  • Triggers
  • Overview
  • Authentication
  • Send Messages
  • Campaigns
  • Contacts
  • Templates
  • Webhooks
  • WhatsApp Setup
  • Analytics
  • Overview
  • Billing
  • Integrations

Related Products

  • AI Voice Agent
  • AI Voice Assistant
  • Try Free
Waflow
  • Introduction
  • Quick Start
  • WhatsApp Setup
  • Overview
  • Create Workspace
  • Team Management
  • Overview
  • Import Contacts
  • Tags & Segments
  • Custom Fields
  • Overview
  • Create Template
  • Variables
  • Approval Process
  • Overview
  • Create Campaign
  • Scheduling
  • Tracking
  • Overview
  • Reports
  • Overview
  • Drip Sequences
  • Triggers
  • Overview
  • Authentication
  • Send Messages
  • Campaigns
  • Contacts
  • Templates
  • Webhooks
  • WhatsApp Setup
  • Analytics
  • Overview
  • Billing
  • Integrations
  1. Docs
  2. Waflow
  3. API Reference
  4. Send Messages

Send Messages

Send a single WhatsApp message — text, template, media, interactive buttons, or list — via the WAFlow Public API.

Send Messages

Send one WhatsApp message to one recipient. The message is delivered through your workspace's connected provider (Meta Cloud API, Twilio, or Plivo).

POST /api/v1/messages

Required scope: messages.send

Every request body has a to (recipient in E.164 format) and a type. The remaining fields depend on the type.

Note: Free‑form messages (text, media, buttons, list) can only be delivered inside an open 24‑hour customer service window — i.e. the customer messaged you within the last 24 hours. To start a conversation, send a template message.

Response

{
  "success": true,
  "messageId": "wamid.HBgMOTE5NTQ3NTMxMzU5FQIAERgS...",
  "to": "+919812345678",
  "type": "text",
  "timestamp": "2026-07-21T09:00:00.000Z"
}

If the provider rejects the message you receive 502:

{
  "success": false,
  "error": "Failed to send message",
  "code": "SEND_FAILED",
  "details": "Message failed to send",
  "providerErrorCode": "131047"
}

Text

{
  "to": "+919812345678",
  "type": "text",
  "text": "Your order has shipped!"
}

cURL Example:

curl -X POST "https://waflow.edesy.in/api/v1/messages" \
  -H "X-API-Key: wc_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "to": "+919812345678", "type": "text", "text": "Your order has shipped!" }'

Template

Use an approved template to start a conversation. bodyParameters fills the {{1}}, {{2}}, … placeholders in order.

{
  "to": "+919812345678",
  "type": "template",
  "template": {
    "name": "order_update",
    "language": "en_US",
    "bodyParameters": ["Raj", "#1234"]
  }
}
Field Type Description
template.name string The approved template's name
template.language string Language code (default en_US)
template.bodyParameters string[] Positional values for body variables
template.headerParameters array Optional header component parameters
template.buttonParameters array Optional button component parameters

cURL Example:

curl -X POST "https://waflow.edesy.in/api/v1/messages" \
  -H "X-API-Key: wc_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+919812345678",
    "type": "template",
    "template": { "name": "order_update", "language": "en_US", "bodyParameters": ["Raj", "#1234"] }
  }'

Media

{
  "to": "+919812345678",
  "type": "media",
  "media": {
    "type": "image",
    "url": "https://example.com/receipt.png",
    "caption": "Your receipt"
  }
}
Field Type Description
media.type string image, video, audio, or document
media.url string Publicly reachable HTTPS URL of the media
media.caption string Optional caption (not for audio)
media.filename string Optional filename (documents)

Interactive buttons

Up to three reply buttons.

{
  "to": "+919812345678",
  "type": "buttons",
  "interactive": {
    "body": "Confirm your appointment?",
    "buttons": [
      { "id": "confirm", "title": "Confirm" },
      { "id": "reschedule", "title": "Reschedule" }
    ],
    "footer": "Ayush Hospital"
  }
}
Field Type Description
interactive.body string Message text
interactive.buttons array 1–3 buttons, each { id, title } (title ≤ 20 chars)
interactive.header string Optional header text
interactive.footer string Optional footer text

Interactive list

{
  "to": "+919812345678",
  "type": "list",
  "list": {
    "body": "Choose a service",
    "buttonText": "View services",
    "sections": [
      {
        "title": "Consultations",
        "rows": [
          { "id": "gen", "title": "General", "description": "₹500" },
          { "id": "spec", "title": "Specialist", "description": "₹1200" }
        ]
      }
    ]
  }
}
Field Type Description
list.body string Message text
list.buttonText string The list's button label (≤ 20 chars)
list.sections array Sections, each with a title and rows
list.sections[].rows array Rows, each { id, title, description? }

Delivery status

The messageId returned is the WhatsApp message id (wamid…). To be notified when the message is sent, delivered, read, or failed, subscribe to the messaging webhooks.

Previous
Authentication
Next
Campaigns

On this page

  • Response
  • Text
  • Template
  • Media
  • Interactive buttons
  • Interactive list
  • Delivery status

Stay Updated

Get the latest updates on AI voice technology, product releases, and exclusive resources.

Get Started

Try our products for free
AI Voice Agent
Build voice AI for calls
WhatsApp AI Bot
Automate WhatsApp chats
Website Chatbot
AI chat for websites
Edesy CRM
Manage leads & customers
Book a DemoCall UsEmail Us
Eedesy

Your all-in-one platform for digital innovation. We build AI-powered solutions that transform how businesses operate.

[email protected]+91 95475 31359

Products

  • AI Voice Assistant
  • Voice AI Suite
  • Telephony Suite
  • Messaging Suite
  • Business Apps Suite
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Products

  • AI Voice Assistant
  • Voice AI Suite
  • Telephony Suite
  • Messaging Suite
  • Business Apps Suite
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service
  • AI Voice Assistant
  • Voice AI Suite
  • Telephony Suite
  • Messaging Suite
  • Business Apps Suite
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products
  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases
  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services
  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo
  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Popular Free Tools

Compress PDFMerge PDFPDF to WordGST CalculatorEMI CalculatorSIP CalculatorJSON FormatterBase64 EncoderImage CompressorQR Code GeneratorVoice AI ROI CalculatorAmazon FBA CalculatorAI Email WriterVideo to GIFPrivacy Policy GeneratorCRM ROI CalculatorMeeting Cost Calculator
Categories:PDF ToolsDeveloper ToolsFinance CalculatorsImage ToolsVideo ToolsAI Writing ToolsAudio ToolsWhatsApp ToolsDocument GeneratorsVoice AI ToolsE-commerce ToolsView All Tools

© 2026 Edesy Technology Labs Pvt Ltd

SSL Secured
99.9% Uptime