Send Text Message
Send a text message to a WhatsApp contact or group. You can include link previews, quoted messages, mentions, and delays.Endpoint
Path Parameters
The name of your WhatsApp instance that you created
Request Body
The recipient’s WhatsApp number in international format (without + symbol)Example:
5511999999999 for a Brazilian numberThe text message content you want to send
Delay before sending the message in millisecondsExample:
1000 for 1 second delayEnable or disable link preview for URLs in the messageDefault:
trueQuote a previous message by providing its key and message object
Mention all participants in a group (use with caution)Default:
falseArray of phone numbers to mention in the message. Each number should be a numeric string.Example:
["5511999999999", "5511888888888"]Response
Message key information
The sent message object containing the text and metadata
Unix timestamp when the message was sent
Message status (e.g., “PENDING”, “SENT”)
Code Examples
Advanced Examples
Send text with mentions
Send text with mentions
Send text with quoted message
Send text with quoted message
Send text with delay and link preview
Send text with delay and link preview
Error Responses
HTTP status code
Error description
Common Errors
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid payload or missing required fields |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Instance does not exist |
| 500 | Internal Server Error - Server-side error |
The
number field should contain only digits in international format without the + symbol. For example, use 5511999999999 instead of +55 11 99999-9999.