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
string
required
The name of your WhatsApp instance that you created
Request Body
string
required
The recipient’s WhatsApp number in international format (without + symbol)Example:
5511999999999 for a Brazilian numberstring
required
The text message content you want to send
integer
Delay before sending the message in millisecondsExample:
1000 for 1 second delayboolean
Enable or disable link preview for URLs in the messageDefault:
trueobject
Quote a previous message by providing its key and message object
boolean
Mention all participants in a group (use with caution)Default:
falsearray
Array of phone numbers to mention in the message. Each number should be a numeric string.Example:
["5511999999999", "5511888888888"]Response
object
Message key information
object
The sent message object containing the text and metadata
string
Unix timestamp when the message was sent
string
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
number
HTTP status code
string
Error description
Common Errors
The
number field should contain only digits in international format without the + symbol. For example, use 5511999999999 instead of +55 11 99999-9999.