Send WhatsApp message
POST/message-server/whatsapp/send
Sends a WhatsApp message. The content can be:
- A Meta-approved template (
template) - A free-form message (
body) — only within the 24h window from the user's last message
The template and body fields are mutually exclusive: one of the two is required.
Fallback: If the message cannot be delivered via WhatsApp, fallback to RCS and/or SMS can be configured.
Tracked links: For templates with tracked links, insert the shortLinkT1 placeholder in the placeholders map with the actual destination URL.
Request
Responses
- 200
- 400
- 401
- 403
Request processed. Check results.whatsapp.accepted to verify whether the message was accepted.
Note: accepted: true means the message was accepted for sending, not that it was delivered. Delivery confirmation arrives via webhook.
Bad request
Invalid or missing credentials
IP not whitelisted or unauthorized resource