Send text message to a contact or group
replyTo.
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the message |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
text | string | ✅ Yes | Text message content to be sent |
replyTo | string | ❌ No | Message ID to which you want to reply (to create a conversation thread) |
200 - Message sent successfully400 - Invalid parameters401 - Unauthorized session404 - Session not foundYour Wappfy API key (get it at dash.wappfy.com.br)
Chat ID (WhatsApp JID)
Text message content
Session name (instanceName)
"my-session"
Message ID you want to reply to
"[email protected]_AAAAAAAAAAAAAAAAAAAA"
Enable link preview automatically
High quality link preview
Message ID
"[email protected]_AAAAAAAAAAAAAAAAAAAA"
Unix timestamp of when the message was created
1666943582
Chat ID to which this message was sent
Indicates if the message was sent by the current user
The device that sent the message - either API or APP. Available in events (webhooks/websockets) only and only "fromMe: true" messages.
api, app "api"
For groups - participant who sent the message
Message content
Indicates if the message has media available for download
Message acknowledgement (ACK) status
-1, 0, 1, 2, 3, 4 Message acknowledgement status name
Message media object, if any and downloaded
If the message was sent to a group, this field will contain the user who sent the message
Location information contained in the message
List of vCards contained in the message
Message in raw WhatsApp format. May change at any time, use with caution!