Skip to main content

Endpoint

Permission: 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

Pass exactly one of template.id or template.name. Sending both, or neither, is a 400.

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

A 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, set sender to the number you want to send from — either the phone number (any formatting) or the Meta phone_number_id:
An unknown or foreign sender returns WHATSAPP_SENDER_NOT_FOUND. Source valid values from List WhatsApp Senders.