#1885-Sending Media Without Template via API (BotSailor)

ZarkChat
#1
ZarkChat

Hello BotSailor team,

I'm a reseller of the platform and currently using the API from my WhiteLabel system. However, I'm facing a critical limitation: I’m unable to send media messages (such as photos and videos) without using message templates.

My requirement is to be able to send media messages within the 24-hour conversation window, without using templates, just as officially supported by WhatsApp’s Cloud API from Meta.

At the moment, I can only send text messages, which greatly limits my ability to build more complete integrations and automation systems.

Meta already allows media messages to be sent via HTTP requests without templates, as shown in the official documentation below:

🔗 Official Meta documentation – Sending Image Messages:

https://developers.facebook.com/docs/whatsapp/cloud-api/messages/image-messages/

📄 JSON Example supported by Meta’s Cloud API:


curl 'https://graph.facebook.com/<API_VERSION>/<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages' \

-H 'Content-Type: application/json' \

-H 'Authorization: Bearer <ACCESS_TOKEN>' \

-d '

{

 "messaging_product": "whatsapp",

 "recipient_type": "individual",

 "to": "<WHATSAPP_USER_PHONE_NUMBER>",

 "type": "image",

 "image": {

  "id": "<MEDIA_ID>",

  "link": "<MEDIA_URL>",

  "caption": "<MEDIA_CAPTION_TEXT>"

 }

}'


📣 I kindly request this feature to be prioritized, as it’s essential for enabling full and effective integrations with the platform.

#2
Admin.

Hi. To do this, you can create a reply bot and then trigger it with the corresponding endpoint.


You can use the variable in the image if you want to assign an image each time before triggering it.

#3
ZarkChat

I would like to use the Developer API to send the image directly so that I can integrate with n8n and during the flow be able to send photos and videos whenever I want, I didn't understand how this would work.

#4
Admin.
(Last updated )
#3

ZarkChat


As far as I know, there's no endpoint for sending images or files directly. The only thing you can do is use the bot trigger endpoint. So any file you add to the botreply flow will be sent when you trigger the botreply from the endpoint.