post
https://public.doubletick.io/v2/whatsapp/message/template
Sends one or more WhatsApp template messages, with placeholders passed as named key-value pairs instead of positions.
Before you call
- Send a
messagesarray. Each item needsfrom(your connected WhatsApp number),to(customer's phone number with country code),content.templateName,content.languageandcontent.templateData. - To send to a WhatsApp group, pass
groupIdinstead offromandto. - Body placeholders are objects keyed by the template's variable names, e.g.
[{ "name": "John" }]. Provide every variable in the body. - Placeholder values cannot contain newlines, tabs or more than 4 consecutive spaces.
- Media headers need a non-empty
mediaUrl. Document headers also needfilename. - Carousel templates need
templateData.cards. Each card'scardIndexmust exist in the template, starting at 0.
How it works
- Each message is checked separately. One bad message does not fail the others.
- The response has one entry per message:
statusENQUEUEDwith amessageId, orFAILEDwith anerrorMessage. - Enqueued messages are sent in the background. Use the
messageIdwith Get Message Status to track delivery. - The template must have a body or be a carousel template. Otherwise the message fails.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

