Messages
Send message
Send individual WhatsApp Business template messages
POST
Description
This endpoint allows you to send a WhatsApp template to an individual recipient. It implements a fire-and-forget pattern: when sending the message, it returns amessage_id (Meta’s wamid) that you can use to check the message status.
The API validates the template, resolves the variables, and sends the message through the Meta API synchronously.
Authentication header
Your Mindo API Key. Format:
mindo_xxxxxxxxxxxxxxxxxxxxxxxxBody parameters
Meta’s WhatsApp phone number ID from which the message will be sent. You can get it from the Get business accounts endpoint.
Name of the approved template to send. Must have
APPROVED status in Meta.Template language. Default:
"es". Examples: "es", "en", "pt_BR".Recipient’s phone number in international format (e.g.:
"+5491112345678"). No spaces.Custom variables for the template. Keys must match the variables defined in the template.
Variables for dynamic template buttons. Keys use the format
button_0, button_1, etc., where the number corresponds to the button index (starting at 0). Values are the dynamic suffixes or payloads for each button.Important: URL buttons only support 1 variable.Response (200 OK)
Whether the message was sent successfully.
Message ID assigned by Meta (wamid). Use to check the message status.
Name of the template sent.
Recipient’s phone number.
Initial message status. Always
"sent" when sent successfully.Date and time when the message was sent.
Message statuses
The messagestatus field can have the following values:
| Status | Description |
|---|---|
sent | Message sent to Meta successfully |
delivered | Message delivered to the recipient’s device |
read | Message read by the recipient |
failed | Message send failed |
The individual status lookup endpoint (
GET /api/v1/meta-templates/messages/\{message_id\}/) will be available soon. In the meantime, you can use the returned message_id for internal traceability.Use cases
Welcome message for a new customer
Welcome message for a new customer
Send a personalized welcome message when a new customer registers.
Python
JavaScript
Verification code
Verification code
Send a unique verification code to a user.
Python
JavaScript
Order status notification
Order status notification
Notify a customer when their order status changes.
Python
JavaScript

