Sending template messages is the core functionality of our API. We offer two integration methods to suit different needs: Simple Method (for no-code tools) and Precise Method (for custom integrations).Documentation Index
Fetch the complete documentation index at: https://automatebusiness.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Integration Methods
1. Simple Variables Array (Recommended for Pabbly/Zapier)
Use a flatvariables array. The system automatically maps these values in order: Header → Body → Buttons.
2. Precise Variable Mapping (Recommended for Custom Apps)
UsevariableMapping to specify exactly where each value goes. This is required for complex templates like Carousels or LTOs.
Specialized Templates
Carousel Templates
Carousel templates allow you to send up to 10 cards in a single message. Use thecard_index to map variables to specific cards.
Precise Mapping
Limited Time Offer (LTO)
For templates with a “Copy Code” button, the first variable in thebuttons array is automatically applied to the button.
Simple Method
Parameter Details
| Parameter | Type | Required | Description |
|---|---|---|---|
templateId | string | Yes | The unique UUID of the WhatsApp template. |
recipientPhoneNumber | string | Yes | Recipient’s phone number with country code (e.g., 918467857644). |
variables | array | No* | Simple flat array of values. |
variableMapping | object | No* | Precise mapping for header/body/button values. |
countryCode | string | No | Override the default country code. |
variables OR variableMapping.