Sends a WhatsApp message using an approved template. Template messages are required when initiating a new conversation or messaging outside the 24-hour session window.Documentation Index
Fetch the complete documentation index at: https://docs.intellixent.ai/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint is rate-limited to 5 requests per second per user.
Endpoint
POST /user/whatsapp/send
Request
ID of the WhatsApp sender to send from. Use the Get senders endpoint to retrieve available senders.
ID of the approved message template to use.
Recipient’s phone number in international format (e.g.,
+1234567890).Recipient’s name for conversation tracking. Maximum 255 characters.
Key-value pairs for template variables. Keys should match the variable names in your template.
Response
Whether the message was sent successfully.
ID of the conversation (new or existing).
ID of the conversation message record.
ID of the WhatsApp message record.
Twilio message SID for delivery tracking.
Initial delivery status (e.g.,
queued, sent).Example
200 Success
404 Sender not found
422 Template not approved
402 Insufficient balance
After a template message is sent successfully, a 24-hour messaging window opens. During this window you can send freeform messages without needing a template.