Send text
Messages
Send text
Send simple text messages via WhatsApp
POST
Send text
Overview
Method for sending simple text messages. Supports WhatsApp formatting, emojis, and line breaks. To add line breaks in the message, use any of these formats:\n, \r, \r\n or %0a.
The response structure is identical to Z-API. Your existing code that processes these returns will continue working without changes.
Authorizations
Secret Key generated in the Hub Message Security panel
Body
application/json
Recipient phone number (country code + area code + number)
Example:
"5511999999999"
Message text
Example:
"Welcome to *Hub Message*!"
Delay in seconds before sending (1-15)
Required range:
1 <= x <= 15Seconds to display "typing" status (1-15)
Required range:
1 <= x <= 15ID of a previously sent message to edit