Endpoint
WhatsApp or Transactional (either is accepted).
This single endpoint sends two kinds of WhatsApp message, selected by the type field:
type: "text"— a free-form session message, only valid inside the 24-hour customer-initiated window. This is what a bot uses to reply to an inbound message.type: "template"— a Meta-approved template, valid any time (subject to template category rules).
The company is resolved from your API key. The body carries a deprecated
companyId field that is ignored — never
send it.Request body
template object
Send a session text
Use this to reply to an inbound message from your bot. It only succeeds inside the 24-hour window opened by the customer’s last message — which is exactly the case when you are answering a reply.Send a template
Templates are required to start a conversation or to message outside the 24-hour window.Template authoring, categories (
UTILITY / AUTHENTICATION / MARKETING), the 24-hour window, named vs. positional
variables and the full component reference are covered in detail on Send WhatsApp
Template. This page documents the same endpoint from the
“connect your bot” angle.Response
success: true means Minimo accepted the message and dispatched it to the provider. Delivery
status (sent / delivered / read) is tracked in the Minimo inbox; it is not returned inline here.
Choosing the sender (multi-number)
If the company has more than one connected number, setsender to the number you want to send
from — either the phone number (any formatting) or the Meta phone_number_id:
sender returns WHATSAPP_SENDER_NOT_FOUND. Source valid values from
List WhatsApp Senders.
Related
- Inbound Webhook — receive the messages you reply to
- List WhatsApp Senders
- List WhatsApp Templates