WhatsApp Message Formats
This guide provides a comprehensive reference of all supported WhatsApp message payload formats for the AeternityChat Developer API.
Send these payloads inside the messages array of the Send Bulk Messages API endpoint:
POST https://api.aeternity.chat/api/v1/developer/message/channel/:channel/connection/:connectionIdMessage Envelope
Every message object in the messages array requires the following base envelope fields:
| Field | Type | Required | Description |
|---|---|---|---|
messaging_product | string | Yes | Must be "whatsapp" |
to | string | Yes | Recipient phone number in international format with country code, without +, spaces, or dashes (e.g., 919876543210) |
type | string | Yes | Type of message (text, image, video, audio, document, sticker, location, contacts, reaction, interactive, template) |
recipient_type | string | No | Recipient type. Defaults to "individual" |
Quick Navigation
| Category | Message Type | type | Description |
|---|---|---|---|
| Standard | Text | text | Plain text with optional URL link previews |
| Media | Image | image | JPG / PNG images with optional caption |
| Media | Video | video | MP4 / 3GPP videos with optional caption |
| Media | Audio | audio | AAC, MP3, OGG audio / voice recordings |
| Media | Document | document | PDF, DOC, XLS files with optional filename & caption |
| Media | Sticker | sticker | WebP stickers (static or animated) |
| Location & Contact | Location | location | Static GPS pin with name and address |
| Location & Contact | Contact Card | contacts | Full vCard contact details |
| Engagement | Reaction | reaction | React with emoji or remove reaction |
| Interactive | Quick Reply Buttons | interactive | Up to 3 clickable reply buttons |
| Interactive | List Menu | interactive | Interactive menu with up to 10 options across sections |
| Interactive | CTA URL Button | interactive | Call-to-action button linking to an external website |
| Interactive | Location Request | interactive | Prompts customer to share their live GPS location |
| Interactive | WhatsApp Flow | interactive | Multi-screen native interactive forms |
| Interactive | Call Permission Request | interactive | Requests permission to place a WhatsApp voice call |
| Interactive | Voice Call Button | interactive | In-chat WhatsApp voice calling button |
| Interactive | Carousel Cards | interactive | Horizontal swipeable cards (2–10 cards) |
| Interactive | Address Request | interactive | In-chat structured address collection form |
| Interactive / Commerce | Order Details & Payments | interactive | Native checkout with Razorpay, PayU, Zaakpay, BillDesk, or UPI |
| Commerce | Single Product | interactive | Showcase a single product from Meta Commerce Catalog |
| Commerce | Product List | interactive | Multi-product catalog list categorized into sections |
| Commerce | Catalog Message | interactive | Opens entire Meta Commerce Catalog |
| Template | Template Message | template | Pre-approved Meta templates for 24h+ outreach |
Standard Messages
Text Message
Send plain text messages. Supports emojis, bold (*text*), italic (_text_), strikethrough (~text~), and code formatting (```code```).
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "text",
"text": {
"preview_url": true,
"body": "Hello! Thank you for contacting *AeternityChat*. Visit https://aeternity.chat for more info."
}
}Fields
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
text.body | string | Yes | 1 to 65,000 characters | Main message text content |
text.preview_url | boolean | No | true or false (default false) | Automatically generates a thumbnail and link preview if a valid URL is in body |
Image Message
Send an image via a hosted public URL (link) or a previously uploaded media ID (id).
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "image",
"image": {
"link": "https://images.unsplash.com/photo-1579202673506-ca3ce28943ef",
"caption": "Welcome to our summer festival! ☀️"
}
}Fields
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
image.link | string | Optional* | Valid HTTP/HTTPS URL | Public URL of the image |
image.id | string | Optional* | Media ID string | Media ID from uploaded file |
image.caption | string | No | Max 1024 characters | Optional text caption beneath the image |
* Exactly one of link or id must be provided. Supported formats: JPEG, PNG. Max file size: 5 MB.
Video Message
Send video files with optional text captions.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "video",
"video": {
"link": "https://example.com/media/product-walkthrough.mp4",
"caption": "Here is a quick overview of how our automation works 🎬"
}
}Fields
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
video.link | string | Optional* | Valid HTTP/HTTPS URL | Public URL of the video file |
video.id | string | Optional* | Media ID string | Uploaded media ID |
video.caption | string | No | Max 1024 characters | Optional video caption |
Supported video formats: MP4 (H.264 video codec and AAC audio), 3GPP. Max file size: 16 MB.
Audio Message
Send audio recordings or voice messages.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "audio",
"audio": {
"link": "https://example.com/audio/greeting.mp3"
}
}Fields
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
audio.link | string | Optional* | Valid HTTP/HTTPS URL | Public URL of the audio file |
audio.id | string | Optional* | Media ID string | Uploaded media ID |
Supported audio formats: AAC, MP4, AMR, MP3, OGG (Opus codec for voice notes). Max file size: 16 MB.
Document Message
Send documents (PDFs, spreadsheets, presentations, invoices) with custom file names.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "document",
"document": {
"link": "https://example.com/docs/invoice_OCT2026.pdf",
"filename": "Invoice_OCT2026.pdf",
"caption": "Your monthly billing invoice from AeternityChat"
}
}Fields
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
document.link | string | Optional* | Valid HTTP/HTTPS URL | Public URL of the document |
document.id | string | Optional* | Media ID string | Uploaded media ID |
document.filename | string | No | Max 240 characters | Custom file name shown to the user on WhatsApp |
document.caption | string | No | Max 1024 characters | Optional text caption |
Supported formats: PDF, DOCX, XLSX, PPTX, TXT, CSV, ZIP. Max file size: 100 MB.
Sticker Message
Send static or animated WhatsApp stickers.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "sticker",
"sticker": {
"link": "https://example.com/stickers/welcome.webp"
}
}Constraints
- Must be formatted as WebP (
image/webp) - Dimensions: exactly 512x512 pixels
- Max file size: 100 KB (static), 500 KB (animated)
Location Message
Send a specific geographic location pin on Google Maps.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "location",
"location": {
"latitude": 12.971598,
"longitude": 77.594566,
"name": "AeternityChat Headquarters",
"address": "100 Feet Road, Indiranagar, Bengaluru, Karnataka 560038"
}
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
location.latitude | number / string | Yes | Latitude of the location |
location.longitude | number / string | Yes | Longitude of the location |
location.name | string | No | Name of the venue or point of interest |
location.address | string | No | Full street address |
Contact Card Message
Send one or multiple contact cards (vCards).
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "contacts",
"contacts": [
{
"name": {
"formatted_name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe"
},
"org": {
"company": "AeternityChat Technologies",
"department": "Customer Success",
"title": "Senior Solutions Architect"
},
"phones": [
{
"phone": "+1 (555) 019-2834",
"type": "WORK",
"wa_id": "15550192834"
}
],
"emails": [
{
"email": "[email protected]",
"type": "WORK"
}
],
"urls": [
{
"url": "https://aeternity.chat",
"type": "WORK"
}
],
"addresses": [
{
"street": "100 Tech Park Way",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "United States",
"country_code": "US",
"type": "WORK"
}
]
}
]
}Reaction Message
Add an emoji reaction to an existing message, or remove a previously sent reaction.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "reaction",
"reaction": {
"message_id": "wamid.HBgLMTE5ODc2NTQzMjEwFQIAERgSRjAzMzc3NkM1QzkzOEVBMTRBAA==",
"emoji": "🎉"
}
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
reaction.message_id | string | Yes | The WhatsApp message ID (wamid) of the message to react to |
reaction.emoji | string | Yes | Single emoji character (e.g., "👍", "❤️", "🔥"). Provide an empty string "" to remove a reaction |
Interactive Messages
Interactive messages give users an intuitive way to take action with buttons, menus, forms, and product selectors.
All interactive messages use "type": "interactive" at the top level and specify the interactive subtype in interactive.type.
Quick Reply Buttons
Send up to 3 clickable buttons. When tapped, the button title is sent back as a response.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "button",
"header": {
"type": "text",
"text": "Support Request #4021"
},
"body": {
"text": "Your ticket has been marked as resolved. How would you rate your support experience today?"
},
"footer": {
"text": "Powered by AeternityChat"
},
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": "rating_great",
"title": "😍 Great"
}
},
{
"type": "reply",
"reply": {
"id": "rating_okay",
"title": "😐 Okay"
}
},
{
"type": "reply",
"reply": {
"id": "rating_bad",
"title": "👎 Needs Help"
}
}
]
}
}
}Constraints
- Buttons: Minimum 1, Maximum 3
- Button ID: Maximum 256 characters (unique identifier sent in webhooks)
- Button Title: Maximum 20 characters
- Header Text: Maximum 60 characters (supports text or media:
image,video,document) - Body Text: Maximum 1024 characters
- Footer Text: Maximum 60 characters
List Menu Message
Presents a menu button that opens a structured picker list with up to 10 items organized across sections.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "list",
"header": {
"type": "text",
"text": "AeternityChat Services"
},
"body": {
"text": "Please choose a department below to connect with the right specialist:"
},
"footer": {
"text": "Available Mon-Fri 9am-6pm IST"
},
"action": {
"button": "Select Department",
"sections": [
{
"title": "Sales & Onboarding",
"rows": [
{
"id": "dept_sales_enterprise",
"title": "Enterprise Sales",
"description": "Custom plans, volume discounts & SLA"
},
{
"id": "dept_sales_startup",
"title": "Startup Program",
"description": "Credits & launch assistance for early-stage teams"
}
]
},
{
"title": "Technical Support",
"rows": [
{
"id": "dept_support_api",
"title": "API & Webhook Help",
"description": "Integration guidance and error troubleshooting"
},
{
"id": "dept_support_billing",
"title": "Billing & Invoices",
"description": "Payment queries, GST invoices & upgrades"
}
]
}
]
}
}
}Constraints
- action.button: Maximum 20 characters (the text on the menu trigger button)
- Sections: 1 to 10 sections
- Section Title: Maximum 24 characters
- Total Rows: Maximum 10 rows across all sections combined
- Row Title: Maximum 24 characters
- Row Description: Maximum 72 characters
- Row ID: Maximum 200 characters
CTA URL Button
Send an interactive message with a single Call-to-Action button that opens an external website URL.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "cta_url",
"header": {
"type": "image",
"image": {
"link": "https://example.com/banner-summer-sale.jpg"
}
},
"body": {
"text": "🎉 *Summer Festival Exclusive*: Enjoy 30% off on all annual plans for the next 48 hours!"
},
"footer": {
"text": "Use code SUMMER30 at checkout"
},
"action": {
"name": "cta_url",
"parameters": {
"display_text": "Claim Discount",
"url": "https://aeternity.chat/pricing?promo=SUMMER30"
}
}
}
}Fields
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
action.parameters.display_text | string | Yes | Max 20 characters | Label displayed on the CTA button |
action.parameters.url | string | Yes | Valid URL | Target destination URL opened in browser |
Location Request Message
Prompts the user with a native WhatsApp “Send Location” button to easily share their live or current GPS location.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "location_request_message",
"body": {
"text": "To find the nearest store and calculate express delivery time, please share your current location."
},
"action": {
"name": "send_location"
}
}
}WhatsApp Flow Message
Launch a native, multi-screen WhatsApp Flow / Form inside the chat. Ideal for bookings, surveys, KYC, lead capture, and appointment scheduling.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "flow",
"header": {
"type": "text",
"text": "Schedule Consultation"
},
"body": {
"text": "Tap below to choose your preferred date, time slot, and meeting specialist:"
},
"footer": {
"text": "Instant confirmation via WhatsApp"
},
"action": {
"name": "flow",
"parameters": {
"flow_message_version": "3",
"flow_token": "booking_session_user_89102",
"flow_id": "893740284729103",
"flow_cta": "Book Appointment",
"flow_action": "navigate",
"flow_action_payload": {
"screen": "APPOINTMENT_SCREEN",
"data": {
"user_name": "Jane",
"tier": "Premium"
}
}
}
}
}
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
flow_id | string | Yes | Published Flow ID from Meta Business Manager |
flow_token | string | Yes | Unique session or context token returned in the form response webhook |
flow_cta | string | Yes | Text on the button that launches the flow (e.g. "Open Form") |
flow_message_version | string | Yes | Flow protocol version ("3") |
flow_action | string | Yes | Action type (usually "navigate") |
flow_action_payload | object | No | Initial screen identifier (screen) and input data passed to the form |
mode | string | No | Set to "draft" when testing unapproved/unpublished flows |
Call Permission Request
Requests permission from the recipient to receive incoming voice calls on WhatsApp.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "call_permission_request",
"body": {
"text": "Our customer success manager is available to assist you with your setup. May we place a voice call to you now?"
},
"action": {
"name": "call_permission_request"
}
}
}Voice Call Button
Provides a direct in-chat button enabling the user to start a WhatsApp voice call with your business.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "voice_call",
"header": {
"type": "text",
"text": "Priority Support Ready"
},
"body": {
"text": "Your dedicated engineer is online and waiting on the line."
},
"action": {
"name": "voice_call",
"parameters": {
"display_text": "Call Support",
"ttl_minutes": 30,
"payload": "session_ticket_89412"
}
}
}
}Carousel Message
Send a horizontal swipeable carousel containing between 2 and 10 media cards, each equipped with its own CTA URL or Quick Reply buttons.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "carousel",
"body": {
"text": "🌟 Explore our featured software plans:"
},
"action": {
"cards": [
{
"card_index": 0,
"type": "cta_url",
"header": {
"type": "image",
"image": {
"link": "https://example.com/cards/starter-plan.png"
}
},
"body": {
"text": "*Starter Plan* — Ideal for emerging teams & side projects."
},
"action": {
"name": "cta_url",
"parameters": {
"display_text": "View Starter",
"url": "https://aeternity.chat/plans/starter"
}
}
},
{
"card_index": 1,
"type": "cta_url",
"header": {
"type": "image",
"image": {
"link": "https://example.com/cards/pro-plan.png"
}
},
"body": {
"text": "*Pro Plan* — Advanced automations, unlimited workflows & AI."
},
"action": {
"name": "cta_url",
"parameters": {
"display_text": "View Pro",
"url": "https://aeternity.chat/plans/pro"
}
}
}
]
}
}
}Constraints
- Cards array: Minimum 2 cards, maximum 10 cards
- Card header: Supported media:
imageorvideowith a direct URL - Card body text: Maximum 160 characters per card
Address Request Message
Sends a native in-chat form prompting the user to select or input a structured delivery address.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "address_message",
"body": {
"text": "Please provide your delivery address for order dispatch:"
},
"action": {
"name": "address_message",
"parameters": {
"country": "IN",
"name": "Rahul Sharma",
"phone_number": "919876543210",
"in_pin_code": "560038",
"city": "Bengaluru",
"state": "Karnataka"
}
}
}
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
country | string | Yes | 2-letter ISO country code ("IN", "US", etc.) |
name | string | No | Pre-filled customer recipient name |
phone_number | string | No | Pre-filled customer phone number |
in_pin_code | string | No | 6-digit postal code (India) |
city / state | string | No | Pre-filled city and state |
house_number / building_name / address | string | No | Address line details |
Order Details & Payments
Send an in-chat checkout message allowing customers to review items and make direct payments through Razorpay, PayU, Zaakpay, BillDesk, or a UPI Intent Link.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "order_details",
"body": {
"text": "Your order is ready. Tap below to review items and complete payment securely:"
},
"footer": {
"text": "100% Secure Checkout powered by AeternityChat"
},
"action": {
"name": "review_and_pay",
"parameters": {
"reference_id": "ORD_REF_20261001_001",
"type": "digital-goods",
"currency": "INR",
"total_amount": {
"value": 49900,
"offset": 100
},
"payment_settings": [
{
"type": "payment_gateway",
"payment_gateway": {
"type": "razorpay",
"configuration_name": "razorpay_aeternity_main",
"razorpay": {
"receipt": "rcpt_98214",
"notes": {
"application": "aeternitychat",
"integration": "whatsapp"
}
}
}
}
],
"order": {
"status": "pending",
"items": [
{
"retailer_id": "SKU_PRO_1M",
"name": "AeternityChat Pro Subscription (1 Month)",
"amount": {
"value": 49900,
"offset": 100
},
"quantity": 1
}
],
"subtotal": {
"value": 49900,
"offset": 100
},
"tax": {
"value": 0,
"offset": 100,
"description": "Includes GST"
}
}
}
}
}
}Amounts & Offsets: All financial values are expressed as integers with an offset. For INR (currency: "INR"), offset is always 100 (e.g., 49900 with offset 100 represents ₹499.00). total_amount.value must exactly equal subtotal + tax + shipping - discount.
UPI Intent Link Alternative
To accept payments directly via UPI apps (Google Pay, PhonePe, Paytm, BHIM):
"payment_settings": [
{
"type": "upi_intent_link",
"upi_intent_link": {
"link": "upi://pay?pa=merchant@icici&pn=AeternityChat&am=499.00&cu=INR&tn=Pro%20Plan%20Payment"
}
}
]Commerce & Product Messages
Meta Commerce Catalog integration enables seamless shopping experiences within WhatsApp.
Single Product Message
Displays a specific product card with price, image, and description pulled directly from your Meta Catalog.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "product",
"body": {
"text": "Check out this featured smart watch:"
},
"footer": {
"text": "In Stock • Free Next-Day Delivery"
},
"action": {
"catalog_id": "184920482019482",
"product_retailer_id": "SKU_WATCH_GT4_BLACK"
}
}
}Product List Message
Displays a multi-product catalog selector organized into categories/sections.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "product_list",
"header": {
"type": "text",
"text": "Autumn Gadgets"
},
"body": {
"text": "Tap below to browse our latest arrivals:"
},
"footer": {
"text": "Limited festival discounts available"
},
"action": {
"catalog_id": "184920482019482",
"sections": [
{
"title": "Smart Watches",
"product_items": [
{ "product_retailer_id": "SKU_WATCH_GT4_BLACK" },
{ "product_retailer_id": "SKU_WATCH_GT4_SILVER" }
]
},
{
"title": "Audio & Earbuds",
"product_items": [
{ "product_retailer_id": "SKU_EARBUDS_PRO_ANC" }
]
}
]
}
}
}Catalog Message
Sends a prompt that opens your complete Meta product catalog.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "interactive",
"interactive": {
"type": "catalog_message",
"body": {
"text": "Browse our full product catalog and place your order directly on WhatsApp:"
},
"footer": {
"text": "Tap to view catalog"
},
"action": {
"name": "catalog_message"
}
}
}Template Messages
Template messages allow you to initiate conversations with customers outside the 24-hour service window. Templates must be approved in advance by Meta.
Basic Text Template with Variables
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "template",
"template": {
"name": "order_confirmation_v2",
"language": {
"code": "en_US"
},
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "John Doe"
},
{
"type": "text",
"text": "ORD-98214"
},
{
"type": "text",
"text": "₹1,499.00"
}
]
}
]
}
}Template with Media Header & Named Parameters
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "template",
"template": {
"name": "shipping_update_media",
"language": {
"code": "en"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "https://example.com/delivery/status-shipped.png"
}
}
]
},
{
"type": "body",
"parameters": [
{
"type": "text",
"parameter_name": "customer_name",
"text": "Jane"
},
{
"type": "text",
"parameter_name": "carrier_name",
"text": "BlueDart Express"
},
{
"type": "text",
"parameter_name": "tracking_number",
"text": "BLU981249124"
}
]
}
]
}
}Template with Interactive Buttons (URL, Quick Reply, Coupon Code, Flow)
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "template",
"template": {
"name": "festival_promo_offer",
"language": {
"code": "en_US"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "https://example.com/promos/festive2026.jpg"
}
}
]
},
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "Priya"
},
{
"type": "text",
"text": "25%"
}
]
},
{
"type": "button",
"sub_type": "url",
"index": 0,
"parameters": [
{
"type": "text",
"text": "priya_festive_25"
}
]
},
{
"type": "button",
"sub_type": "COPY_CODE",
"index": 1,
"parameters": [
{
"type": "coupon_code",
"coupon_code": "FESTIVE25"
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": 2,
"parameters": [
{
"type": "payload",
"payload": "UNSUBSCRIBE_PROMOS"
}
]
}
]
}
}Batch Sending Example (Multiple Message Formats in 1 Call)
You can mix and match different formats in the messages array of a single API call (up to 100 messages):
curl --request POST \
--url "https://api.aeternity.chat/api/v1/developer/message/channel/whatsapp/connection/YOUR_CONNECTION_ID" \
--header "Content-Type: application/json" \
--header "x-aeternitychat-key: YOUR_API_KEY" \
--data '{
"messages": [
{
"messaging_product": "whatsapp",
"to": "919876543210",
"type": "text",
"text": {
"body": "Hello John, welcome to AeternityChat!"
}
},
{
"messaging_product": "whatsapp",
"to": "919876543211",
"type": "interactive",
"interactive": {
"type": "button",
"body": {
"text": "Would you like a live product walkthrough?"
},
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": "demo_yes",
"title": "Yes, please"
}
},
{
"type": "reply",
"reply": {
"id": "demo_no",
"title": "Not right now"
}
}
]
}
}
}
]
}'Summary of Media & Parameter Limitations
| Type | Formats / Codecs | Max Size | Key Constraints |
|---|---|---|---|
| Image | JPEG, PNG | 5 MB | Link or Media ID |
| Video | MP4, 3GPP (H.264 + AAC) | 16 MB | Link or Media ID |
| Audio | AAC, MP4, AMR, MP3, OGG (Opus) | 16 MB | Voice & audio files |
| Document | PDF, DOCX, XLSX, PPTX, TXT, CSV, ZIP | 100 MB | Optional filename & caption |
| Sticker | WebP | 100 KB (static) / 500 KB (animated) | Exactly 512x512 pixels |
| Quick Reply Buttons | — | — | 1–3 buttons, title max 20 chars |
| List Menu | — | — | Max 10 rows across all sections, button label max 20 chars |
| Carousel Cards | — | — | 2–10 cards, card body max 160 chars |
| WhatsApp Flow | — | — | Protocol version "3", requires valid flow_id |
| Payment Orders | INR | — | offset: 100, total amount must match line items |