Unsupported Message Types (Send Direct)
The following message types exist in the standard WBA API but are NOT supported in Send Direct mode. These requests are documented for completeness and boundary/regression testing. Production use of these types requires the standard template-based or scheduled messaging flow.
Folder: Unsupported
POST https://apis.rmlconnect.net/wba/v1/messages
Text message with preview URL
Tests preview_url flag in a plain text message. URL link previews are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"text": "30 minutes! Yes, that's right, just keep a few documents handy.\n\n1. Pan card.\n\n2. Address proof.\n\n3. Bank statement.\n\n4. Aadhar number\n\nOpen an account in 30 minutes by clicking here https://kwik.kotaksecurities.com/kwik/Account/Register?ReturnUrl=%2Fkwik%2F\n and start trading today.",
"preview_url": true
}Sticker message
Tests sending a WebP sticker. Sticker messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "sticker",
"url": "https://example.com/sticker.webp"
}
}Document message
Tests sending a PDF document attachment. Document messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "document",
"url": "http://www.africau.edu/images/default/sample.pdf",
"file": "bmw doc",
"caption": "demo descriptions"
}
}Video message
Tests sending an MP4 video. Video messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "video",
"url": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",
"file": "escape.mp4",
"caption": "This is a test video"
}
}Audio message
Tests sending an MP3 audio file. Uses the scheduled messages endpoint and environment variables. Audio messages are not supported in Send Direct mode.
POST Send Audio Message Copy URL: {{url}}/wba/schedule/v1/messages Note: uses scheduled endpoint and environment variable placeholders. Request Body: {"phone": "{{phone_no}}", "extra": "sampleaudio", "scheduled_time": "2025-07-15 09:55:28", "media": { "type": "audio", "url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3", "file": "audio.mp3", "caption": "This is a test audio" }}
Notemedia.type: audio is not supported in Send Direct mode. This request targets the scheduled endpoint with environment variable placeholders (dary/re, ession testi).
Location message
Tests sending a geographic location pin. Location messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "location",
"longitude": "72.838249",
"latitude": "18.991341",
"name": "Lalbaug",
"address": "Lalbaug, Mumbai"
},
"extra": "samplelm"
}Contacts message
Tests sending a vCard-style contact. Contact card messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "contacts",
"contacts": [
{
"name": {
"first_name": "John",
"last_name": "Doe"
},
"phones": [
{
"phone": "+911234567890",
"type": "CELL"
}
]
}
]
}
}Reaction message
Tests sending an emoji reaction to a specific message. Reaction messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "reaction",
"message_id": "wamid.XXXXXX",
"emoji": "\ud83d\udc4d"
}
}Address message
Tests address-type location message using environment variable placeholders. Not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages — Address message via send-direct
Uses {{phone_no}} environment variable. Note: media.type is location. Request Body: {"phone": "{{phone_no}}", "media": { "type": "location", "longitude": "72.838249", "latitude": "18.991341", "name": "Lalbaug", "address": "Lalbaug, Mumbai" }, "extra": "samplelm"}
NoteUses environment variable tandard WBA . media.type: location is not supported in Send Direct mode.
Interactive list message
Tests interactive list messages. The Postman collection body uses a location payload — the intent is to test that list messages are not supported. Interactive list messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages — Interactive List message via send-direct
Uses {{phone_no}} environment variable. Request Body: {"phone": "{{phone_no}}", "media": { "type": "location", "longitude": "72.838249", "latitude": "18.991341", "name": "Lalbaug", "address": "Lalbaug, Mumbai" }, "extra": "samplelm"}
Interactive flow message
Tests sending a WhatsApp Flow message. Interactive flow messages are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "interactive_flow",
"body": "Please complete the form",
"action": {
"name": "flow",
"parameters": {
"flow_id": "12345",
"flow_cta": "Start"
}
}
}
}Interactive CTA with non-text image header
Tests an interactive_cta with an image header. The Postman collection body is identical to the interactive_flow test. Non-text headers (image, video, document) are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "interactive_flow",
"body": "Please complete the form",
"action": {
"name": "flow",
"parameters": {
"flow_id": "12345",
"flow_cta": "Start"
}
}
}
}Interactive reply with non-text video header
Tests an interactive_reply with a video header. Non-text headers are not supported in Send Direct mode.
POST https://apis.rmlconnect.net/wba/v1/messages
{
"phone": "{phone}",
"type": "send-direct",
"media": {
"type": "interactive_flow",
"body": "Please complete the form",
"action": {
"name": "flow",
"parameters": {
"flow_id": "12345",
"flow_cta": "Start"
}
}
}
}Image message
Tests sending an image with caption. Uses environment variable placeholders. Image messages are not supported in Send Direct mode.
POST Send Image Message Copy URL: {{url}}/wba/v1/messages Uses {{url}} and {{phone_no}} environment variables. Request Body: {"phone": "{{phone_no}}", "enable_acculync": true, "media": { "type": "image", "url": "https://upload.wikimedia.org/wikipedia/commons/3/3f/JPEG_example_flower.jpg", "file": "flower.jpg", "caption": "This is a test Image [https://upload.wikimedia.org/wikipedia/commons/3/3f/JPEG_example_flower.jpg](https://upload.wikimedia.org/wikipedia/commons/3/3f/JPEG_example_flower.jpg)" }, "extra": "sampleim"}
Notemedia.type: image is not supported in Send Direct mode. This request uses environment variable placeholders (ented f, completenes).
Updated 4 days ago