Send Freeform Message

Send freeform messages including text, images, documents, audio, and video to recipients within the 24-hour customer service window.

POST/v2.0/whatsapp/message

Request Parameters

Body Parameters

ParameterTypeDescription
tostringRecipient phone number
brandNumberstringYour WhatsApp Business phone number
typestringMessage type: text, image, document, audio, or video
contentobjectMessage content object — structure depends on type
scheduledAtstring (ISO 8601)Schedule for future delivery
timezonestringIANA timezone stringDefault: UTC
storeInAIContextbooleanIf true, the outgoing message is appended to the recipient's AI conversation history so subsequent AI replies have context of what you sent. Default falseDefault: false

Content Object by Type

TypeContent Fields
textbody (required)
imagelink (required), caption (optional)
documentlink (required), filename (required), caption (optional)
audiolink (required)
videolink (required), caption (optional)

Code Examples

Send Text Message

curl -X POST https://api.sendiee.com/v2.0/whatsapp/message \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "919876543210",
    "brandNumber": "917012345678",
    "type": "text",
    "content": {
      "body": "Hello! Thanks for reaching out to us."
    }
  }'

Send Image Message

curl -X POST https://api.sendiee.com/v2.0/whatsapp/message \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "919876543210",
    "brandNumber": "917012345678",
    "type": "image",
    "content": {
      "link": "https://example.com/product.jpg",
      "caption": "Check out our new product!"
    }
  }'

Response

{
  "success": true,
  "message": "Message sent successfully",
  "data": {
    "messageId": "wamid.HBgM...",
    "status": "accepted",
    "recipient": "919876543210"
  }
}

Try It

Try it — API Playground